From f67058652d5c5f59461ad6b359d37ae73103f084 Mon Sep 17 00:00:00 2001 From: "moon87.park" Date: Tue, 15 Sep 2015 14:31:46 +0900 Subject: [PATCH] [Task-mgr] Change the pkgmgrinfo API to usr Change-Id: I6761d3ce2b503f02304d4a3bac2df65f521bb59c --- src/list.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/list.c b/src/list.c index 43bc501..bf0f7d2 100644 --- a/src/list.c +++ b/src/list.c @@ -236,7 +236,7 @@ static task_mgr_error_e _create_pkginfo_table(void) return TASK_MGR_ERROR_FAIL; } - ret = pkgmgrinfo_appinfo_filter_foreach_appinfo(handle, _get_pkginfo_cb, NULL); + ret = pkgmgrinfo_appinfo_usr_filter_foreach_appinfo(handle, _get_pkginfo_cb, NULL, getuid()); if (ret != PMINFO_R_OK) { pkgmgrinfo_appinfo_filter_destroy(handle); return TASK_MGR_ERROR_FAIL; -- 2.7.4