diff options
| author | 2022-10-24 11:54:31 -0700 | |
|---|---|---|
| committer | 2022-10-28 21:07:04 +0000 | |
| commit | 4b1b2984448d5c03ffbeb153910e613c2d734139 (patch) | |
| tree | 20c62e9819d2e7d09e3662f7163891f83bcc9e6b /libs/androidfw/ApkParsing.cpp | |
| parent | d9ce760427bc47969716b9edaef2739007486d2a (diff) | |
Minor improvements on user management stack.
- Clarify that UserController.mCurrentProfileIds lists all profiles,
not just the started ones.
- Similarly, renamed updateCurrentProfileIds() to
updateProfileRelatedCaches() (and updated its javadoc), as that
method was also updating mUserProfileGroupIds
- Added a UserLifecycleListener to UserController, so the profile
caches are updated when a new profile is added.
- Removed the UserController.onUserRemoved() call from
ActivityServiceManager and used the above listener instead.
- Added mCurrentProfileIds to UserController dump() methods.
- Added mCurrentUserId to UserController dump(proto) method.
Test: manual verification
Test: adb shell dumpsys activity users|grep -i profile
Change-Id: I7e11a8d7237a7421ad396ad6515a9496d0bb7f8d
Fixes: 255357601
Diffstat (limited to 'libs/androidfw/ApkParsing.cpp')
0 files changed, 0 insertions, 0 deletions