diff options
author | Tomasz Iwanek <t.iwanek@samsung.com> | 2015-01-13 15:26:52 +0100 |
---|---|---|
committer | Suchang Woo <suchang.woo@samsung.com> | 2015-03-03 18:19:58 -0800 |
commit | 2138d03aa857109bfbbe5dd9d810359a56d8ca1c (patch) | |
tree | 0039fb394af3d469e12bec8b690d6ffdd481fc32 /src | |
parent | 449e7cdfd1b5ebf3e091710fd702a4e4558e1a32 (diff) | |
download | application-2138d03aa857109bfbbe5dd9d810359a56d8ca1c.tar.gz application-2138d03aa857109bfbbe5dd9d810359a56d8ca1c.tar.bz2 application-2138d03aa857109bfbbe5dd9d810359a56d8ca1c.zip |
Quickfix multi-user in appsvc function callssubmit/tizen_wearable/20150313.022842submit/tizen_tv/20150313.022842submit/tizen_mobile/20150313.022842submit/tizen_common/20150409.101024submit/tizen/20150304.022845accepted/tizen/wearable/20150313.083855accepted/tizen/tv/20150313.083823accepted/tizen/mobile/20150313.083943
This commit assumes there is no point to run service for global user.
I see no sense for this so just switch API.
Change-Id: If17257d194cb9aa0ad3cc0b6685bc8c7fa33f3fb
Diffstat (limited to 'src')
-rwxr-xr-x | src/service.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/service.c b/src/service.c index 7c88313..927b16c 100755 --- a/src/service.c +++ b/src/service.c @@ -737,7 +737,7 @@ int service_send_launch_request(service_h service, service_reply_cb callback, vo appsvc_set_operation(service->data, SERVICE_OPERATION_DEFAULT); } - launch_pid = appsvc_run_service(service->data, service->id, callback ? service_request_result_broker : NULL, request_context); + launch_pid = appsvc_usr_run_service(service->data, service->id, callback ? service_request_result_broker : NULL, request_context, getuid()); if (implicit_default_operation == true) { @@ -1040,7 +1040,7 @@ int service_is_extra_data_array(service_h service, const char *key, bool *array) if (service_validate_internal_key(key)) { return service_error(SERVICE_ERROR_KEY_REJECTED, __FUNCTION__, "the given key is reserved as internal use"); -
} + } if (!appsvc_data_is_array(service->data, key)) { @@ -1170,7 +1170,7 @@ int service_foreach_app_matched(service_h service, service_app_matched_cb callba return service_error(SERVICE_ERROR_INVALID_PARAMETER, __FUNCTION__, NULL); } - appsvc_get_list(service->data, service_cb_broker_foreach_app_matched, &foreach_context); + appsvc_usr_get_list(service->data, service_cb_broker_foreach_app_matched, &foreach_context, getuid()); return SERVICE_ERROR_NONE; } |