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

Commit 57a4f5b4 authored by Felipe Leme's avatar Felipe Leme
Browse files

Improved cmd user list to show unresolved name.

When the user name is not explicitly set, UserManager uses a
"user-friendly" name for them, like "Owner" or "Guest", and
`cmd user` only displays that name, not the unresolved one (null).

Similarly, `dumpsys user` only shows the unresolved name, although it
also shows the "Owner name" in a separate section.

This CL includes the raw name on `cmd user` and the guest name on
`dumpsys user`.

Test: adb shell dumpsys user |grep "Guest name"
Test: adb shell cmd user list -v --all | grep unresolvedName
Bug: 407597096
Flag: EXEMPT changes debugging behavior only

Change-Id: I502f0b037e2d44ec6c90e7736a2950bc0dbfa220
parent 2b5a8e70
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment