mirror of
https://gitee.com/openharmony/base_location
synced 2024-11-23 06:50:03 +00:00
update frameworks/location_common/common/source/common_utils.cpp.
Signed-off-by: smilebear <245252081@qq.com>
This commit is contained in:
parent
e3c2939865
commit
7128f5d0e1
@ -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)) {
|
||||
|
Loading…
Reference in New Issue
Block a user