Skip to content
Commit 7435ca08 authored by Yasin Kilicdere's avatar Yasin Kilicdere
Browse files

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
parent 7a64585e
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