summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHwankyu Jhun <h.jhun@samsung.com>2021-04-23 11:23:40 +0900
committerHwankyu Jhun <h.jhun@samsung.com>2021-04-23 11:30:06 +0900
commitea54a29e5229e9b1eb5bbbf4e5147928fc80272c (patch)
treeb434e43c51cc1f39ac443e822d2aba64079e885a
parent70ec7b6ae99cc8866e3e15ee71b542f16434fb2b (diff)
downloadbluetooth-ea54a29e5229e9b1eb5bbbf4e5147928fc80272c.tar.gz
bluetooth-ea54a29e5229e9b1eb5bbbf4e5147928fc80272c.tar.bz2
bluetooth-ea54a29e5229e9b1eb5bbbf4e5147928fc80272c.zip
Remove deprecated function callsubmit/tizen/20210423.011914
The app_control_request_transient_app() is deprecated. Change-Id: Id1264b897eb288d545503c6678410a4fed73a27a Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
-rw-r--r--src/bt-main.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/bt-main.c b/src/bt-main.c
index a6a61b0..37661d8 100644
--- a/src/bt-main.c
+++ b/src/bt-main.c
@@ -116,12 +116,6 @@ static void app_resume(void *data)
return;
}
-static int __bt_transient_app_cb(void *data)
-{
- FN_START;
- return 0;
-}
-
static void __bt_clean_app(bt_app_data_t *ad)
{
FN_START;
@@ -252,9 +246,6 @@ static void __bt_clean_app(bt_app_data_t *ad)
}
if (ad->service) {
/* if previous launch mode is setting then should unset transient relation */
- if (ad->launch_mode == BT_LAUNCH_SETTING)
- app_control_request_transient_app(ad->service,
- 0, NULL, NULL);
app_control_destroy(ad->service);
ad->service = NULL;
}
@@ -366,9 +357,6 @@ static void app_service(app_control_h service, void *data)
#endif
}
- if (ad->launch_mode == BT_LAUNCH_SETTING)
- app_control_request_transient_app(service, elm_win_xwindow_get(ad->window), __bt_transient_app_cb, NULL);
-
if (ad->launch_mode != BT_LAUNCH_CALL &&
ad->launch_mode != BT_LAUNCH_CONNECT_HEADSET &&
ad->window && ad->layout_main != NULL) {