mirror of
https://gitee.com/openharmony/ability_dmsfwk
synced 2024-11-23 06:20:07 +00:00
commit
00733fd989
@ -904,7 +904,7 @@ int32_t DSchedContinue::PackDataCmd(std::shared_ptr<DSchedContinueDataCmd>& cmd,
|
||||
int32_t DSchedContinue::CheckStartPermission(std::shared_ptr<DSchedContinueDataCmd> 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_)) {
|
||||
|
Loading…
Reference in New Issue
Block a user