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

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

Lazy load mHandlerThread in WallpaperManagerService.

mHandlerThread was added in ag/24804347 to improve the duration and
the spikiness of the user switch, with a small memory cost.
But this memory regression was observed even when there is no
multiple users present or supported on the device. This CL fixes that
issue by lazy loading the mHandlerThread.

Bug: 323841616
Fixes: 321880416
Test: Manual control of Perfetto traces
Test: atest WallpaperManagerTest
Flag: android.multiuser.bind_wallpaper_service_on_its_own_thread_during_a_user_switch
Change-Id: I004a725abf50b282ada36a8cb734279f30284e64
parent 21c33ccf
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