commit | 3133c45b12d983f827d61590465fe68173c9d47a | [log] [tgz] |
---|---|---|
author | Brian Claire Young <bcyoung@google.com> | Fri Aug 31 13:56:49 2018 -0700 |
committer | Brian Claire Young <bcyoung@google.com> | Fri Sep 07 11:22:35 2018 -0700 |
tree | 4d66d649cd41833ef19d4291b68429bf68a2a8c1 | |
parent | 1ca2dafcff7c4199064e05c1c2bf1b15fffe8cf5 [diff] |
Use correct call to get Android user ID Rather than trying to store the active user ID, use multiuser_get_user_id to pull the actual ID for the caller. This will now behave correctly when called by background processes. Test: CtsKeystoreTestCases, from both owner and guest users Bug: 113280004 Change-Id: I73fd2ef2ac4b1ceb7ec3792761e827d801d0d905