mirror of
https://gitee.com/openharmony/ability_dmsfwk
synced 2024-11-27 00:20:44 +00:00
optimize log
Signed-off-by: dengxiaoyu <dengxiaoyu6@huawei.com>
This commit is contained in:
parent
3e88a87f92
commit
fe57a82a64
@ -510,9 +510,8 @@ bool DistributedSchedPermission::CheckAccountAccessPermission(const CallerInfo&
|
||||
dmSrcCaller.pkgName.c_str(), GetAnonymStr(dmDstCallee.networkId).c_str());
|
||||
|
||||
#ifdef DMSFWK_SAME_ACCOUNT
|
||||
if (!DeviceManager::GetInstance().CheckIsSameAccount(dmSrcCaller, dmDstCallee)) {
|
||||
HILOGE("Check same account ACL by DM fail.");
|
||||
return ACCOUNT_NOT_SAME_BY_DM;
|
||||
if (DeviceManager::GetInstance().CheckIsSameAccount(dmSrcCaller, dmDstCallee)) {
|
||||
return true;
|
||||
}
|
||||
HILOGI("check same account by DM fail, will try check access Group by hichain");
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user