change appsvc_get_list to appsvc_usr_get_list 83/46783/2 accepted/tizen/mobile/20150908.004235 accepted/tizen/tv/20150908.004259 accepted/tizen/wearable/20150908.004247 submit/tizen/20150907.103836
authorJiwoong Im <jiwoong.im@samsung.com>
Wed, 26 Aug 2015 06:28:54 +0000 (15:28 +0900)
committerSangyoon Jang <s89.jang@samsung.com>
Fri, 28 Aug 2015 07:32:34 +0000 (16:32 +0900)
- To get regular user's app_control list, change appsvc_get_list to
appsvc_usr_get_list

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

index dfe1af2dcb95628192d60ca1a0253404df24edbb..ded9617f2c1b5863db01fc30d1745440fb05c2ce 100644 (file)
@@ -1354,7 +1354,7 @@ int app_control_foreach_app_matched(app_control_h app_control, app_control_app_m
                return app_control_error(APP_CONTROL_ERROR_INVALID_PARAMETER, __FUNCTION__, NULL);
        }
 
-       appsvc_get_list(app_control->data, app_control_cb_broker_foreach_app_matched, &foreach_context);
+       appsvc_usr_get_list(app_control->data, app_control_cb_broker_foreach_app_matched, &foreach_context, getuid());
 
        return APP_CONTROL_ERROR_NONE;
 }