mirror of
https://gitee.com/openharmony/bundlemanager_bundle_framework
synced 2024-11-27 01:11:15 +00:00
commit
e1632aa8df
@ -495,8 +495,6 @@ enum {
|
||||
ERR_APPEXECFWK_INSTALL_EXISTED_WRITE_PARCEL_ERROR = 8522211,
|
||||
ERR_APPEXECFWK_INSTALL_EXISTED_READ_PARCEL_ERROR = 8522212,
|
||||
ERR_APPEXECFWK_INSTALL_EXISTED_ENTERPRISE_BUNDLE_NOT_ALLOWED = 8522213,
|
||||
|
||||
ERR_APPEXECFWK_UNINSTALL_BUNDLE_FILE_DELETE_FAILED = 8522214,
|
||||
};
|
||||
|
||||
// Error code for Hidump
|
||||
|
@ -3612,7 +3612,7 @@ ErrCode BaseBundleInstaller::RemoveBundleDataDir(const InnerBundleInfo &info, bo
|
||||
ErrCode result =
|
||||
InstalldClient::GetInstance()->RemoveBundleDataDir(info.GetBundleName(), userId_,
|
||||
info.GetApplicationBundleType() == BundleType::ATOMIC_SERVICE);
|
||||
if (result != ERR_OK) {
|
||||
if (result == ERR_APPEXECFWK_INSTALLD_REMOVE_DIR_FAILED) {
|
||||
LOG_W(BMS_TAG_INSTALLER, "RemoveBundleDataDir failed %{public}d", result);
|
||||
InstallParam installParam;
|
||||
SendBundleSystemEvent(
|
||||
@ -3620,7 +3620,9 @@ ErrCode BaseBundleInstaller::RemoveBundleDataDir(const InnerBundleInfo &info, bo
|
||||
BundleEventType::UNINSTALL,
|
||||
installParam,
|
||||
sysEventInfo_.preBundleScene,
|
||||
ERR_APPEXECFWK_UNINSTALL_BUNDLE_FILE_DELETE_FAILED);
|
||||
ERR_APPEXECFWK_INSTALLD_REMOVE_DIR_FAILED);
|
||||
} else {
|
||||
CHECK_RESULT(result, "RemoveBundleDataDir failed %{public}d");
|
||||
}
|
||||
|
||||
if (forException) {
|
||||
|
Loading…
Reference in New Issue
Block a user