From 0c5997e4932edcd1a7a92152d5cf61dfc7e1377f Mon Sep 17 00:00:00 2001 From: z00838083 Date: Fri, 8 Nov 2024 18:43:32 +0800 Subject: [PATCH] Bugfix: fix same appId check Signed-off-by: z00838083 --- services/dtbschedmgr/src/continue/dsched_continue.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/dtbschedmgr/src/continue/dsched_continue.cpp b/services/dtbschedmgr/src/continue/dsched_continue.cpp index 5d5492f3..ec73eeca 100644 --- a/services/dtbschedmgr/src/continue/dsched_continue.cpp +++ b/services/dtbschedmgr/src/continue/dsched_continue.cpp @@ -904,7 +904,7 @@ int32_t DSchedContinue::PackDataCmd(std::shared_ptr& cmd, int32_t DSchedContinue::CheckStartPermission(std::shared_ptr cmd) { if (cmd->srcBundleName_ == cmd->dstBundleName_) { - return DistributedSchedService::GetInstance().CheckTargetPermission4DiffBundle(cmd->want_, cmd->callerInfo_, + return DistributedSchedService::GetInstance().CheckTargetPermission(cmd->want_, cmd->callerInfo_, cmd->accountInfo_, START_PERMISSION, true); } else { if (!BundleManagerInternal::IsSameDeveloperId(cmd->dstBundleName_, cmd->srcDeveloperId_)) {