replay appsvc_run_service to appsvc_usr_run_service in app_control 82/39382/1 accepted/tizen/common/20150520.133301 accepted/tizen/common/20150520.133326 accepted/tizen/mobile/20150521.005946 accepted/tizen/tv/20150521.005342 accepted/tizen/wearable/20150521.005622 submit/tizen/20150514.234943 submit/tizen_common/20150520.075535 submit/tizen_wearable/20150520.080646
authorJiwoong Im <jiwoong.im@samsung.com>
Thu, 14 May 2015 05:23:07 +0000 (14:23 +0900)
committerJiwoong Im <jiwoong.im@samsung.com>
Thu, 14 May 2015 05:23:07 +0000 (14:23 +0900)
To launch application correctly in user-session, appsvc_run_serice
should be replaced to appsvc_usr_run_service.

Change-Id: I19c715876ec72e0462ed611f0c66a806ed7d5e08
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
app_control/app_control.c

index 9603792ef4638910496502c052c774d6efbe7e0c..4a813f28d4439e62f1ff80e7afadff4dff09324d 100755 (executable)
@@ -745,7 +745,7 @@ int app_control_send_launch_request(app_control_h app_control, app_control_reply
                appsvc_set_operation(app_control->data, APP_CONTROL_OPERATION_DEFAULT);
        }
 
-       launch_pid = appsvc_run_service(app_control->data, app_control->id, callback ? app_control_request_result_broker : NULL, request_context);
+       launch_pid = appsvc_usr_run_service(app_control->data, app_control->id, callback ? app_control_request_result_broker : NULL, request_context, getuid());
 
        if (implicit_default_operation == true)
        {