diff --git a/interfaces/inner_api/src/standard/device_security_level_loader.cpp b/interfaces/inner_api/src/standard/device_security_level_loader.cpp index c2180fba1d7c8cc2dcebbdd23df647a8eee23a43..b8fccf6d1b86ae16470dc8eca945b0b2e4b97ba8 100644 --- a/interfaces/inner_api/src/standard/device_security_level_loader.cpp +++ b/interfaces/inner_api/src/standard/device_security_level_loader.cpp @@ -61,6 +61,7 @@ void DeviceSecurityLevelLoader::LoadCallback::OnLoadSystemAbilitySuccess(int32_t void DeviceSecurityLevelLoader::LoadCallback::OnLoadSystemAbilityFail(int32_t sid) { HILOG_ERROR(LOG_CORE, "OnLoadSystemAbilityFail = %{public}d.", sid); + promise_.set_value(NULL); } sptr DeviceSecurityLevelLoader::LoadCallback::Promise()