replay appsvc_run_service to appsvc_usr_run_service in app_control
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)
        {