optimize log

Signed-off-by: dengxiaoyu <dengxiaoyu6@huawei.com>
This commit is contained in:
dengxiaoyu 2024-10-12 17:46:33 +08:00
parent 3e88a87f92
commit fe57a82a64

View File

@ -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