commit | bef25b52fb62d5f5c767674afa3d0a8b0d424ee0 | [log] [tgz] |
---|---|---|
author | Yi-Ling Chuang <emilychuang@google.com> | Tue May 28 16:14:08 2019 +0800 |
committer | Yi-Ling Chuang <emilychuang@google.com> | Wed May 29 12:02:12 2019 +0800 |
tree | 309366d78cebe915cb571bbc5987cbd1a7c76579 | |
parent | 7b2897ff93a9718b5c84332f3f0ad7b5dc77268e [diff] |
Load wallpaper colors in a background thread. In WallpaperManagerService, it takes some time to load wallpaper colors from image wallpapers since bitmap decoding will be involved. This will block the UI thread and lead to app launch latency. So here we are making it in another thread to avoid this. Bug: 133396959 Test: robotest, reboot phone and look at boot trace Change-Id: Ibd1952a4bf10431ba4be4dd69634d64354670daa