diff options
| author | 2023-03-23 18:14:40 +0000 | |
|---|---|---|
| committer | 2023-03-24 14:39:34 +0000 | |
| commit | 7435ca08ab4381b00fcf7e393e9e6736a94e3d55 (patch) | |
| tree | 579dd2f09d137d922cd6975e277de69c8f3530f0 /libs/androidfw/ApkParsing.cpp | |
| parent | 7a64585e90873c8bb82ac69fbcb9850fb3ca2d12 (diff) | |
Add UserSwitchObserver.onBeforeUserSwitching and make SysUI use it.
During a user switch, allow SystemUI to update its source of truth
for current user before WallpaperManagerService, to put wallpaper
colors changed events in order. Otherwise, ThemeOverlayController
receives onColorsChanged call before UserTrackerImpl updates current
user id and thinks colors are changed for non-current user.
Bug: 274925897
Test: atest UserTrackerImplTest
Test: atest UserControllerTest
Change-Id: Ib5e467a18d75d633b2ebaecbaf00fb65f8be6c77
Diffstat (limited to 'libs/androidfw/ApkParsing.cpp')
0 files changed, 0 insertions, 0 deletions