From 8af68cd41310a58454c77a59f4a16b1f70fde773 Mon Sep 17 00:00:00 2001 From: YoungHun Cho Date: Fri, 30 Sep 2016 12:59:20 +0900 Subject: [PATCH] add 'main operation set' to app_control_launch Change-Id: Ib7dcf9c5952ac38455b82c1b9da9a13f83902366 Signed-off-by: YoungHun Cho --- .cproject | 10 +++++++--- src/cluster_view.c | 6 ++++++ 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/.cproject b/.cproject index 19fb4b4..1ba67f8 100755 --- a/.cproject +++ b/.cproject @@ -16,7 +16,7 @@ - + @@ -44,6 +44,7 @@ + @@ -150,6 +151,7 @@ + @@ -266,7 +268,7 @@ - @@ -298,7 +300,7 @@ - + @@ -326,6 +328,7 @@ + @@ -431,6 +434,7 @@ + diff --git a/src/cluster_view.c b/src/cluster_view.c index c15047b..8e8a569 100755 --- a/src/cluster_view.c +++ b/src/cluster_view.c @@ -316,6 +316,12 @@ static void __cluster_view_menu_change_wallpaper_cb(void *data, Evas_Object *obj return; } + if (app_control_set_operation(app_control_handle, APP_CONTROL_OPERATION_MAIN) != APP_CONTROL_ERROR_NONE) { + LOGE("[FAILED][app_control_set_operation]"); + app_control_destroy(app_control_handle); + return; + } + if (app_control_send_launch_request(app_control_handle, __cluster_view_app_launch_request_cb, NULL) != APP_CONTROL_ERROR_NONE) { LOGE("[FAILED][app_control_send_launch_request]"); app_control_destroy(app_control_handle); -- 2.7.4