Fix to use 'usr' prefixed pkgmgr-info api 39/40539/1 accepted/tizen_3.0.2015.q2_common tizen_3.0.2015.q2_common accepted/tizen/3.0.2015.q2/common/20150609.181927 accepted/tizen/common/20150609.084318 accepted/tizen/mobile/20150609.085837 accepted/tizen/tv/20150612.003520 accepted/tizen/wearable/20150609.085858 submit/tizen/20150605.044443 submit/tizen/20150605.114228 submit/tizen_3.0.2015.q2_common/20150609.170642 submit/tizen_tv/20150611.000000
authorSangyoon Jang <s89.jang@samsung.com>
Fri, 5 Jun 2015 04:36:18 +0000 (13:36 +0900)
committerSangyoon Jang <s89.jang@samsung.com>
Fri, 5 Jun 2015 04:36:18 +0000 (13:36 +0900)
Change-Id: I9972d17a6a1c577a12e6b3e4fffb449ed0e567b7
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
src/esd_main.c

index b034926..17dc9fa 100755 (executable)
@@ -895,8 +895,8 @@ static int esd_pkgmgr_event_callback(uid_t target_uid, int req_id, const char *p
                                esd_pkgmgr_event_free(pkg_event);
                                return 0;
                        }
-                       ret = pkgmgrinfo_appinfo_get_list(handle,
-                               PMINFO_SVC_APP, __esd_add_appinfo_handler, NULL);
+                       ret = pkgmgrinfo_appinfo_get_usr_list(handle,
+                               PMINFO_SVC_APP, __esd_add_appinfo_handler, NULL, getuid());
                        if (ret < 0) {
                                _E("failed to get appinfo");
                                esd_pkgmgr_event_free(pkg_event);