diff options
author | 2025-03-18 00:37:46 +0000 | |
---|---|---|
committer | 2025-03-18 02:22:14 +0000 | |
commit | 1163e15e4ff3ca775d353196af815a5661e307b2 (patch) | |
tree | cbcaf8df773130c0e0dbaf73e7f0ea71cf527839 /libs/androidfw/LocaleDataLookup.cpp | |
parent | 9d8c6297f6f1abd118ae6f1b18456fd9581cfdd2 (diff) |
UserManagerService: clear calling identity in getCredentialOwnerProfile()
Add the missing Binder.clearCallingIdentity() to
UserManagerService#getCredentialOwnerProfile(), just after the
checkManageUsersPermission(). This avoids a warning in
UserManager#getUserProperties() about the system fetching UserProperties
on behalf of another uid. Since checkManageUsersPermission() ensures
that the caller can see all the user properties anyway, the actual
result should remain the same (besides the warning message going away).
Bug: 403355811
Test: atest FrameworksServicesTests:UserManagerServiceTest
Flag: EXEMPT bugfix
Change-Id: I635a15afef5fa9d0b1b04c5a203e19a6df30fdb7
Diffstat (limited to 'libs/androidfw/LocaleDataLookup.cpp')
0 files changed, 0 insertions, 0 deletions