summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Yasin Kilicdere <tyk@google.com> 2024-02-05 13:07:06 +0000
committer Yasin Kilicdere <tyk@google.com> 2024-02-05 17:52:17 +0000
commitd8243a6e6f0d6db27b4573b9fe804f5f1f060d81 (patch)
tree975ef98d077a6d2c10adab5466ea05e7f202074c /libs/androidfw/FileStream.cpp
parent21c33ccf0c69cc35b370048ac9fe1c86e87e5b28 (diff)
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
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions