diff options
| author | 2025-02-20 08:49:46 -0800 | |
|---|---|---|
| committer | 2025-03-05 08:55:55 -0800 | |
| commit | 7b7d5c2367e0fa84a9d8f75593fa3af244456192 (patch) | |
| tree | 71c64882cea13b5d34cd78b71e192ea5ab72bdce /libs/androidfw/StringPool.cpp | |
| parent | 50ebccb273ed15e19b9f980964f1ff1ec9ae0488 (diff) | |
Modified dumpsys user so it always shows config_multiuserMaximumUsers
Currently, it just dumps UM.getMaxSupportedUsers(), which uses the
config but also read fw.max_users; with this change, it will show
both values when overridden. Example:
$ adb shell dumpsys user | grep "Max user"
Max users: 4 (limit reached: false)
$ adb shell setprop fw.max_users 42 && adb shell dumpsys user | grep "Max user"
Max users: 42 (built-in value: 4) (limit reached: false)
Bug: 397907533
Test: manual verification (see above)
Flag: EXEMPT changes on debugging components only
Change-Id: I5733cb7bf22cb9f60a45c14cb54e0df625322b34
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions