pkgmgrinfo_pkginfo_h pkginfo;
if (!strcasecmp(key, "start")) {
+ _W("[__PKGMGR__] Package(%s) event(%s) - start", pkgid, val);
+
if (!strcasecmp(val, "uninstall") ||
!strcasecmp(val, "update") ||
- !strcasecmp(val, "move")) {
- _W("[__PKGMGR__] Package(%s) event(%s) - start",
- pkgid, val);
+ !strcasecmp(val, "move"))
__set_blocking(&info);
- }
g_hash_table_insert(pkg_pending, strdup(pkgid), strdup(val));
}
if (op == NULL)
return 0;
+ _W("[__PKGMGR__] Package(%s) event(%s) - error", pkgid, val);
+
if (!strcasecmp(op, "uninstall") ||
!strcasecmp(op, "update") ||
!strcasecmp(op, "move")) {
- _W("[__PKGMGR__] Package(%s) event(%s) - error",
- pkgid, val);
__unset_blocking(&info, true);
_noti_send(AMD_NOTI_MSG_APPINFO_PACKAGE_UPDATE_ERROR,
target_uid, 0, (void *)pkgid, NULL);