change API to pkgmgrinfo_appinfo_get_usr_appinfo 37/45637/1 accepted/tizen/tv/20150810.080424 submit/tizen/20150810.063707
authorSoohye Shin <soohye.shin@samsung.com>
Mon, 10 Aug 2015 05:37:14 +0000 (14:37 +0900)
committerSoohye Shin <soohye.shin@samsung.com>
Mon, 10 Aug 2015 05:37:14 +0000 (14:37 +0900)
Change-Id: I262ce1093383fa17488b3600cc87e14ec919c18a
Signed-off-by: Soohye Shin <soohye.shin@samsung.com>
src/data/data_recent.c

index a540a0f..38489a7 100644 (file)
@@ -87,7 +87,7 @@ static void _app_list_foreach(gpointer data, gpointer user_data)
        if (!strcmp(rdata->id, PACKAGE_BROWSER))
                return;
 
-       r = pkgmgrinfo_appinfo_get_appinfo(rdata->id, &handle);
+       r = pkgmgrinfo_appinfo_get_usr_appinfo(rdata->id, getuid(), &handle);
        if (r != PMINFO_R_OK) {
                _ERR("failed to get app info");
                return;