commit | 20871cf9e65ba32c82d4487d8f57ba6ad0646508 | [log] [tgz] |
---|---|---|
author | chihhangchuang <chihhangchuang@google.com> | Tue Jun 23 12:26:14 2020 +0800 |
committer | chihhangchuang <chihhangchuang@google.com> | Tue Jun 23 12:33:40 2020 +0800 |
tree | 75466d533ed55a66921b041f81fb63f1f0c507ef | |
parent | 432baae8ad0591298ec961cb5b2b808515837e82 [diff] |
Cache WallpaperColors which decoded from wallpaper thumbnail asset, then return it for same Asset To reduce the #decodeBitmap call which is expensive. Video(popup a toast to indicate color access): https://drive.google.com/file/d/1S7Mbe8lCjoXbPXOuFKDk3t6mhfiEv7S0/view?usp=sharing Test: Manually Fixes: 158537606 Change-Id: I46b8b397fb914e3d3e463de3282d9d33b18a7459