Fix Uninstallation with popups. 12/31712/2
authorBaptiste DURAND <baptiste.durand@open.eurogiciel.org>
Mon, 8 Dec 2014 16:44:11 +0000 (17:44 +0100)
committerBaptiste DURAND <baptiste.durand@open.eurogiciel.org>
Mon, 8 Dec 2014 16:44:11 +0000 (17:44 +0100)
The CAPI used for displaying package information is not correct.

BUG-Tizen=TC-1687
Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org>
Change-Id: I7ab85e17d396f1e47abdaf280ef4a6a6d4157753

server/src/pkgmgr-server.c

index 8084ebc..3b9e343 100755 (executable)
@@ -714,7 +714,8 @@ int create_popup(struct appdata *ad)
        } else if (ad->op_type == OPERATION_UNINSTALL) {
                char *label = NULL;
                pkgmgrinfo_pkginfo_h handle;
-               ret = pkgmgrinfo_pkginfo_get_pkginfo(pkgid, &handle);
+               ret = pkgmgrinfo_pkginfo_get_usr_pkginfo(pkgid, ad->item->uid, &handle); 
+
                if (ret < 0){
                        drawing_popup = 0;
                        notification_delete(noti);