Fix N_SE-57065 bug tizen_2.2 2.2.1_release submit/tizen_2.2/20131107.055316
authorJaeho Lee <jaeho81.lee@samsung.com>
Mon, 4 Nov 2013 10:17:24 +0000 (19:17 +0900)
committerJaeho Lee <jaeho81.lee@samsung.com>
Mon, 4 Nov 2013 10:17:24 +0000 (19:17 +0900)
Signed-off-by: Jaeho Lee <jaeho81.lee@samsung.com>
am_daemon/amd_appinfo.c
packaging/aul.spec

index d018794..5349bd2 100755 (executable)
@@ -318,6 +318,16 @@ static int __cb(int req_id, const char *pkg_type,
                        return -1;
                }
                pkgmgrinfo_pkginfo_destroy_pkginfo(handle);
+       } else if (strncmp(key,"end", 3) == 0) {
+                       ret = pkgmgrinfo_pkginfo_get_pkginfo(pkgid, &handle);
+               if (ret != PMINFO_R_OK)
+                       return -1;
+               ret = pkgmgrinfo_appinfo_get_list(handle, PMINFO_UI_APP, __app_info_insert_handler, user_data);
+               if (ret != PMINFO_R_OK) {
+                       pkgmgrinfo_pkginfo_destroy_pkginfo(handle);
+                       return -1;
+               }
+               pkgmgrinfo_pkginfo_destroy_pkginfo(handle);
        }
        return ret;
 }
index 3aeee18..9fcafdc 100644 (file)
@@ -1,6 +1,6 @@
 Name:       aul
 Summary:    App utility library
-Version:    0.0.285
+Version:    0.0.286
 Release:    1
 Group:      System/Libraries
 License:    Apache License, Version 2.0