update frameworks/location_common/common/source/common_utils.cpp.

Signed-off-by: smilebear <245252081@qq.com>
This commit is contained in:
smilebear 2024-11-19 11:03:03 +00:00 committed by Gitee
parent e3c2939865
commit 7128f5d0e1
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -461,7 +461,6 @@ bool CommonUtils::IsAppBelongCurrentAccount(AppIdentity &identity)
}
int currentUserId = 0;
if (!CommonUtils::GetCurrentUserId(currentUserId)) {
}
std::string bundleName = identity.GetBundleName();
if (CommonUtils::CheckAppForUser(identity.GetUid(), currentUserId, bundleName)) {