diff options
author | Anthony Hugh <ahugh@google.com> | 2019-10-29 13:12:02 -0700 |
---|---|---|
committer | Anthony Hugh <ahugh@google.com> | 2019-10-29 15:08:28 -0700 |
commit | 4886465390bc7899d664057c0d6b6f15fdf19f62 (patch) | |
tree | 7a24d211dc79d9085d556796a3129135e55c8778 /tests/Codegen/src/com/android/codegentest/SampleWithNestedDataClasses.java | |
parent | a7f66b7ee882a50e7fabd618638a001720f78dac (diff) |
Update to use UserManager.getUserSwitchability()
Updated framework to handle user switchability cases, so use that
instead of CarUserManagerHelper.
Bug: 131776619
Test: Manually play with user picker.
Test: [1] Open User Picker
[2] Verify can switch to a different user user
[3] adb root && adb shell pm set-user-restriction --user 10 no_user_switch 1
[4] Verify can't switch to a different user
[5] adb root && adb shell pm set-user-restriction --user 10 no_user_switch 0
[6] adb root && adb shell pm set-user-restriction --user 0 no_user_switch 1
[7] Verify can user switch
Change-Id: Ie898723bd93a85d0ea01a9d0879af0c84e904c98
Diffstat (limited to 'tests/Codegen/src/com/android/codegentest/SampleWithNestedDataClasses.java')
0 files changed, 0 insertions, 0 deletions