Signed-off-by: MisterE <smart_e@126.com>
This commit is contained in:
MisterE 2024-08-26 21:02:06 +08:00
commit 711590d005
2 changed files with 2 additions and 2 deletions

View File

@ -43,7 +43,7 @@ public:
static void InitAbilityInfoFromExtension(const AppExecFwk::ExtensionAbilityInfo &extensionAbilityInfo,
AppExecFwk::AbilityInfo &abilityInfo);
static bool IsSameAppId(const std::string& callerAppId, const std::string& targetBundleName);
static bool BundleManagerInternal::IsSameDeveloperId(const std::string &callerDeveloperId,
static bool IsSameDeveloperId(const std::string &callerDeveloperId,
const std::string &targetBundleName);
static int32_t GetLocalBundleInfo(const std::string& bundleName, AppExecFwk::BundleInfo &localBundleInfo);
static int32_t GetLocalBundleInfoV9(const std::string& bundleName, AppExecFwk::BundleInfo &bundleInfo);

View File

@ -256,7 +256,7 @@ bool BundleManagerInternal::GetContinueBundle4Src(const std::string &srcBundleNa
HILOGE("get bundle manager failed");
return false;
}
bundleMgr->GetContinueBundleNames(bundleNameList, srcBundleName);
bundleMgr->GetContinueBundleNames(srcBundleName, bundleNameList);
if (bundleNameList.empty()) {
HILOGW("No APP with specified bundle name(%{public}s) configured in continue Bundle ", srcBundleName);
return false;