mirror of
https://gitee.com/openharmony/ability_dmsfwk
synced 2024-11-27 00:20:44 +00:00
异moduleName可接续
Signed-off-by: MisterE <smart_e@126.com>
This commit is contained in:
parent
d3a8f3c7f7
commit
c98b576ea4
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user