Signed-off-by: MisterE <smart_e@126.com>
This commit is contained in:
MisterE 2024-08-26 20:42:49 +08:00
commit 41fcb74b9e
2 changed files with 2 additions and 3 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);
bool BundleManagerInternal::IsSameDeveloperId(const std::string &callerDeveloperId,
static bool BundleManagerInternal::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

@ -57,8 +57,7 @@ public:
AccountInfo& accountInfo);
bool GetTargetAbility(const AAFwk::Want& want, AppExecFwk::AbilityInfo& targetAbility,
bool needQueryExtension = false) const;
bool isSameAppIdOrDeveloperId(const CallerInfo &callerInfo, __resharper_unknown_type &targetAbility,
int32_t &value);
bool isSameAppIdOrDeveloperId(const CallerInfo &callerInfo, AppExecFwk::AbilityInfo &targetAbility);
void MarkUriPermission(OHOS::AAFwk::Want& want, uint32_t accessToken);
void RemoveRemoteObjectFromWant(std::shared_ptr<AAFwk::Want> want) const;