[Task-mgr] Change the pkgmgrinfo API to usr 44/48144/1 accepted/tizen/mobile/20150917.041206 accepted/tizen/tv/20150917.041216 accepted/tizen/wearable/20150917.041227 submit/tizen/20150917.015420 submit/tizen_common/20151229.144031 submit/tizen_common/20151229.154718 tizen_3.0.m2.a1_mobile_release tizen_3.0.m2.a1_tv_release
authormoon87.park <moon87.park@samsung.com>
Tue, 15 Sep 2015 05:31:46 +0000 (14:31 +0900)
committermoon87.park <moon87.park@samsung.com>
Tue, 15 Sep 2015 05:31:46 +0000 (14:31 +0900)
Change-Id: I6761d3ce2b503f02304d4a3bac2df65f521bb59c

src/list.c

index 43bc501..bf0f7d2 100644 (file)
@@ -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;