Fix delay issue occured when switching keyboard 87/135587/2
authorsungwook79.park <sungwook79.park@samsung.com>
Fri, 23 Jun 2017 08:03:29 +0000 (17:03 +0900)
committersungwook park <sungwook79.park@samsung.com>
Fri, 23 Jun 2017 08:18:26 +0000 (08:18 +0000)
Change-Id: I66deb23c80674652391b698cf7d12969557fb179
Signed-off-by: sungwook79.park <sungwook79.park@samsung.com>
ism/extras/efl_panel/isf_panel_efl.cpp

index 8f9cd4a1741edb3858437632a0adb6aecae20fe1..eb8b39eab7c7359990067db77b15cdb03c0be6d1 100644 (file)
@@ -6171,38 +6171,7 @@ static void launch_helper (const char* exec, const char *name, const char *appid
 
 static void app_control_launch (const char *app_id)
 {
-    app_control_h app_control;
-    int ret;
-
-    ret = app_control_create (&app_control);
-    if (ret != APP_CONTROL_ERROR_NONE) {
-        LOGW ("app_control_create returned %08x\n", ret);
-        return;
-    }
-
-    ret = app_control_set_operation (app_control, APP_CONTROL_OPERATION_DEFAULT);
-    if (ret != APP_CONTROL_ERROR_NONE) {
-        LOGW ("app_control_set_operation returned %08x\n", ret);
-        app_control_destroy (app_control);
-        return;
-    }
-
-    ret = app_control_set_app_id (app_control, app_id);
-    if (ret != APP_CONTROL_ERROR_NONE) {
-        LOGW ("app_control_set_app_id returned %08x\n", ret);
-        app_control_destroy (app_control);
-        return;
-    }
-
-    ret = app_control_send_launch_request (app_control, NULL, NULL);
-    if (ret != APP_CONTROL_ERROR_NONE) {
-        LOGW ("app_control_send_launch_request returned %08x, app_id=%s\n", ret, app_id);
-        app_control_destroy (app_control);
-        return;
-    }
-
-    app_control_destroy (app_control);
-    LOGD ("Launch %s\n", app_id);
+    aul_launch_app_async(app_id, NULL);
 }
 
 static void slot_run_helper (const String &uuid, const String &config, const String &display)