!679 fix: code check

Merge pull request !679 from hobbycao/master
This commit is contained in:
openharmony_ci 2023-07-24 06:15:57 +00:00 committed by Gitee
commit c9faaebadc
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -543,7 +543,7 @@ int32_t DistributedSchedService::SetWantForContinuation(AAFwk::Want& newWant, in
if (!isPageStackContinue && !moduleName.empty() && moduleName.length() <= MAX_MODULENAME_LEN) {
HILOGD("set application moduleName = %{private}s!", moduleName.c_str());
OHOS::AppExecFwk::ElementName element = newWant.GetElement();
newWant.SetElementName(element.GetDeviceID(), element.GetBundleName(), element.GetAbilityName(), moduleName);
newWant.SetElementName(element.GetDeviceID(), element.GetBundleName(), element.GetAbilityName(), moduleName);
}
HILOGD("local version = %{public}u!", localBundleInfo.versionCode);
return ERR_OK;