commit | 100ec961484beafe255a5660c1dad2e909e2bef3 | [log] [tgz] |
---|---|---|
author | zonghuayang <zonghuayang@google.com> | Wed Nov 10 16:07:18 2021 +0800 |
committer | bobyang <zonghuayang@google.com> | Thu Feb 10 17:48:03 2022 +0800 |
tree | adbd2ee290cd1dbc51ae19489580b3a921dd27e5 | |
parent | 6c8c20d838072360209a3857092fad5ec3972c7a [diff] |
Cache the wallpaper's colors to prevent recalculation - Use SharedPreferences to cache the colors of the wallpaper. - Remove calculation if the color of the wallpaper is cached. Videos: - Before: https://drive.google.com/file/d/1wxs1A2EhiCC79zbKrPYWjSUMtwFIJT27/view?usp=sharing&resourcekey=0-iiZVW7fDh9EwqH2sik6cjw - After: https://drive.google.com/file/d/1mJ3PenQjtIjPSbtKeqghLyHjp0T20aUT/view?usp=sharing&resourcekey=0-6gw43lxSOzVdrKlk7mFH1w Bug: 206050609 Test: Manual Change-Id: I98107baef5540a5dd219bb59f1f2ee31adc2315c