diff options
author | Ruslan Tkhakokhov <rthakohov@google.com> | 2019-02-20 14:33:58 +0000 |
---|---|---|
committer | Ruslan Tkhakokhov <rthakohov@google.com> | 2019-02-21 15:23:53 +0000 |
commit | 70afec382db71688e05f4842f33cf42652e82809 (patch) | |
tree | 1d0e48225465b718ea2b931868e8796975b8e420 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | d1a556a5bbf9ba06fff45c059ce046e0dca91c00 (diff) |
Fix BackupManager#getUserForSerialNumber
Test: atest ProfileSerialNumberHostSideTest
Currently BackupManager#getUserForSerialNumber goes through users
associated with the calling user (inluding the calling user itself) and
looks for the given serial number. However, to get the list of users it calls
UserManager#getUserProfiles that operates for the users associated with
the calling process (in our case - system user since the call is made
from BMS). While this works for our current use case (only support
backup for system user and their work profile, meaning
BackupManager#getUserForSerialNumber will only be called for system
user), it won't work for a full multi-user case.
Change-Id: Ia42a69a1216ed9a5dae596e44336290d2718de7a
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions