From c06b01485832a6a1dc51912e019d4dd3f49c9c0e Mon Sep 17 00:00:00 2001 From: Sangyoon Jang Date: Fri, 5 Jun 2015 13:36:18 +0900 Subject: [PATCH] Fix to use 'usr' prefixed pkgmgr-info api Change-Id: I9972d17a6a1c577a12e6b3e4fffb449ed0e567b7 Signed-off-by: Sangyoon Jang --- src/esd_main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/esd_main.c b/src/esd_main.c index b034926..17dc9fa 100755 --- a/src/esd_main.c +++ b/src/esd_main.c @@ -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); -- 2.7.4