Skip caller callback in case of app-selector and share-panel
authorJunghoon Park <jh9216.park@samsung.com>
Mon, 5 Dec 2016 06:24:38 +0000 (15:24 +0900)
committerJunghoon Park <jh9216.park@samsung.com>
Mon, 5 Dec 2016 06:24:38 +0000 (15:24 +0900)
Change-Id: Ia1e4afd5d28dd8b4536687b6f049a0a9ec2b05cb
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
app_control/app_control.c

index 447348e18a751ffc4ba098ca5e3d7be18dec5f24..9efcba013c11fd6ccd058ed28ad24df7d524583a 100755 (executable)
@@ -774,7 +774,7 @@ int app_control_send_launch_request(app_control_h app_control, app_control_reply
                aul_add_caller_cb(launch_pid, __handle_launch_result, request_context);
 
                /* launched without app selector */
-               if ((strcmp(callee, APP_SELECTOR) != 0) ||
+               if ((strcmp(callee, APP_SELECTOR) != 0) &&
                                (strcmp(callee, SHARE_PANEL) != 0))
 
                        aul_invoke_caller_cb(request_context);