_LOGD("Parsing Finished\n");
// __streamFile(manifest, ACTION_INSTALL, temp, mfx->package);
- __ps_process_tag_parser(mfx, manifest, ACTION_INSTALL);
__add_preload_info(mfx, manifest, GLOBAL_USER);
_LOGD("Added preload infomation\n");
_LOGD("DB Insert Success\n");
+ __ps_process_tag_parser(mfx, manifest, ACTION_INSTALL);
ret = __ps_process_metadata_parser(mfx, ACTION_INSTALL);
if (ret == -1)
_LOGD("Creating metadata parser failed\n");
_LOGD("Parsing Finished\n");
// __streamFile(manifest, ACTION_INSTALL, temp, mfx->package);
- __ps_process_tag_parser(mfx, manifest, ACTION_INSTALL);
__ps_process_tag(mfx, tagv);
retvm_if(ret == PMINFO_R_ERROR, PMINFO_R_ERROR, "DB Insert failed");
_LOGD("DB Insert Success\n");
+
+ __ps_process_tag_parser(mfx, manifest, ACTION_INSTALL);
ret = __ps_process_metadata_parser(mfx, ACTION_INSTALL);
if (ret == -1)
_LOGD("Creating metadata parser failed\n");
_LOGD("Parsing Finished\n");
// __streamFile(manifest, ACTION_UPGRADE, temp, mfx->package);
- __ps_process_tag_parser(mfx, manifest, ACTION_UPGRADE);
__add_preload_info(mfx, manifest, GLOBAL_USER);
_LOGD("Added preload infomation\n");
__check_preload_updated(mfx, manifest, GLOBAL_USER);
ret = pkgmgr_parser_update_manifest_info_in_db(mfx);
retvm_if(ret == PMINFO_R_ERROR, PMINFO_R_ERROR, "DB Insert failed");
+
_LOGD("DB Update Success\n");
+
+ __ps_process_tag_parser(mfx, manifest, ACTION_UPGRADE);
ret = __ps_process_metadata_parser(mfx, ACTION_UPGRADE);
if (ret == -1){
_LOGD("Upgrade metadata parser failed\n");
_LOGD("Parsing Finished\n");
//__streamFile(manifest, ACTION_UPGRADE, temp, mfx->package);
- __ps_process_tag_parser(mfx, manifest, ACTION_UPGRADE);
__check_preload_updated(mfx, manifest, uid);
ret = pkgmgrinfo_pkginfo_get_usr_pkginfo(mfx->package, uid, &handle);
ret = pkgmgr_parser_update_manifest_info_in_usr_db(mfx, uid);
retvm_if(ret == PMINFO_R_ERROR, PMINFO_R_ERROR, "DB Insert failed");
_LOGD("DB Update Success\n");
- _LOGE("DB Update Success\n" );
+
+ __ps_process_tag_parser(mfx, manifest, ACTION_UPGRADE);
ret = __ps_process_metadata_parser(mfx, ACTION_UPGRADE);
if (ret == -1)
_LOGD("Upgrade metadata parser failed\n");