summaryrefslogtreecommitdiff
path: root/api/api.go
diff options
context:
space:
mode:
author Grant Menke <grantmenke@google.com> 2025-01-27 15:07:24 -0800
committer Grant Menke <grantmenke@google.com> 2025-01-27 15:07:24 -0800
commit776b1cd5cf93aa0ec4bfad137e846ec0c145c056 (patch)
treeb693970a202fcadedc1afce284350282863a146e /api/api.go
parentc616d8f49e533a71b6e2db4de4c89be3d5d1b3ed (diff)
Ensure CallerInfoAsyncQuery uses HSUM aware method to check user id of current process.
CallerInfoAsyncQuery#getCurrentProfileContentResolver was using a deprecated non HSUM aware method in order to check the user id of the current process. This was causing some contacts provider UT to fail when the device is HSUM mode. This CL updates CallerInfoAsyncQuery to use the HSUM aware reccomended method UserHandle#myUserId instead. Test: atest CallerInfoIntegrationTest#testCallerInfo Bug: 383209047 Flag: EXEMPT bugfix Change-Id: I9032c2781c2502848d246be3cf83492a5a0d7228
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions