异moduleName可接续

Signed-off-by: MisterE <smart_e@126.com>
This commit is contained in:
MisterE 2024-11-21 14:23:06 +08:00
parent d3a8f3c7f7
commit c98b576ea4

View File

@ -333,9 +333,8 @@ int32_t DMSContinueRecvMgr::DealOnBroadcastBusiness(const std::string& senderNet
HILOGE("The bundleType must be app, but it is %{public}d", localBundleInfo.applicationInfo.bundleType); HILOGE("The bundleType must be app, but it is %{public}d", localBundleInfo.applicationInfo.bundleType);
return INVALID_PARAMETERS_ERR; return INVALID_PARAMETERS_ERR;
} }
bool isSameBundle = (bundleName == finalBundleName);
if (state == ACTIVE if (state == ACTIVE
&& !IsBundleContinuable(localBundleInfo, abilityInfo.abilityName, continueType, isSameBundle)) { && !IsBundleContinuable(localBundleInfo, abilityInfo.abilityName, continueType)) {
HILOGE("Bundle %{public}s is not continuable", finalBundleName.c_str()); HILOGE("Bundle %{public}s is not continuable", finalBundleName.c_str());
return BUNDLE_NOT_CONTINUABLE; return BUNDLE_NOT_CONTINUABLE;
} }