diff options
author | Felipe Leme <felipeal@google.com> | 2020-12-11 12:59:44 -0800 |
---|---|---|
committer | Felipe Leme <felipeal@google.com> | 2020-12-11 16:36:34 -0800 |
commit | 757491fd7be66ed9983bd75975fb1039ce3954f6 (patch) | |
tree | d50a5984b5ee8fbcc395e8ca860f0d85d3db4cb9 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 786d279f6c1d55771b0a3e9cf389d3599820712c (diff) |
Added profile-owner and device-owner on cmd user and dump user.
Examples:
$ adb shell cmd user list --all -v
3 users:
0: id=0, name=Driver, flags=ADMIN|INITIALIZED|PRIMARY|SYSTEM (running) (device-owner)
1: id=10, name=Driver, flags=ADMIN|FULL|INITIALIZED
2: id=11, name=HomerSimpson, flags=FULL|INITIALIZED (running) (converted) (profile-owner) (current)
$ adb shell dumpsys user | grep '\-owner'
UserInfo{0:null:813} serialNo=0 isPrimary=true <device-owner>
UserInfo{11:HomerSimpson:410} serialNo=15 isPrimary=false <converted> <profile-owner>
Test: see above
Bug: 156263735
Change-Id: Ia98d3586fcaa852943e3a900ba13add5439eaf13
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions