From f07ac70a19a523829165d1b91a5c1e34ebf47223 Mon Sep 17 00:00:00 2001 From: "sungwook79.park" Date: Fri, 23 Jun 2017 17:03:29 +0900 Subject: [PATCH] Fix delay issue occured when switching keyboard Change-Id: I66deb23c80674652391b698cf7d12969557fb179 Signed-off-by: sungwook79.park --- ism/extras/efl_panel/isf_panel_efl.cpp | 33 +-------------------------------- 1 file changed, 1 insertion(+), 32 deletions(-) diff --git a/ism/extras/efl_panel/isf_panel_efl.cpp b/ism/extras/efl_panel/isf_panel_efl.cpp index 8f9cd4a..eb8b39e 100644 --- a/ism/extras/efl_panel/isf_panel_efl.cpp +++ b/ism/extras/efl_panel/isf_panel_efl.cpp @@ -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) -- 2.7.4