diff options
author | Jordan Jozwiak <jjoz@google.com> | 2020-08-10 08:44:30 -0700 |
---|---|---|
committer | Jordan Jozwiak <jjoz@google.com> | 2020-10-14 13:09:07 -0700 |
commit | c22af8e24ef56b0fe1f436772bc9f50195ccd711 (patch) | |
tree | 558017da636aa30a5524322619a1a176da5c2fd1 /tests/Codegen/src/com/android/codegentest/SampleWithNestedDataClasses.java | |
parent | fc97abcae258d0e9f25ea53d900677f0ac666dcb (diff) |
Add removeUserOrSetEphemeral
To support removing a user as soon as possible, we introduce an
API that will remove a non-current user immediately or mark the
current user as ephemeral so that it is removed on user switch
or reboot.
This API will be used by CarService, which runs in a different
process, so the API must be exposed on UserManager (instead of
just UserManagerInternal).
Bug: 155913815
Test: adb shell pm remove-user --set-ephemeral-if-in-use <uid>
Change-Id: I5975a70c439bd7892939bcee65be2f2dd85026ed
Diffstat (limited to 'tests/Codegen/src/com/android/codegentest/SampleWithNestedDataClasses.java')
0 files changed, 0 insertions, 0 deletions