mirror of
https://github.com/openharmony/bundlemanager_bundle_framework_lite.git
synced 2026-07-20 23:55:24 -04:00
!77 【应用程序框架】运动表bms GetInstallState接口增加bundleName判空
Merge pull request !77 from wangdengjia/0015beta2
This commit is contained in:
@@ -174,7 +174,7 @@ bool GtManagerService::GetInstallState(const char *bundleName, InstallState *ins
|
||||
*installProcess = BMS_INSTALLATION_COMPLETED;
|
||||
return true;
|
||||
}
|
||||
if (bundleInstallMsg_ == nullptr) {
|
||||
if (bundleInstallMsg_ == nullptr || bundleInstallMsg_->bundleName == nullptr) {
|
||||
*installState = BUNDLE_INSTALL_FAIL;
|
||||
*installProcess = 0;
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user