Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 757491fd authored by Felipe Leme's avatar Felipe Leme
Browse files

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
parent 786d279f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment