diff options
author | Ahan Wu <ahanwu@google.com> | 2021-08-22 22:56:34 -0800 |
---|---|---|
committer | Ahan Wu <ahanwu@google.com> | 2021-09-13 18:53:27 +0800 |
commit | 7af300eea60cd198d49ff59ec49e3329af169d59 (patch) | |
tree | 8c37dce25d331b12ae40a70ccd857b0f6c9e58f0 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 6925a160d0b539dfcc72663fb846b6618ca148d6 (diff) |
DO NOT MERGE: Fix temporary black after setting a new image wallpaper
Sometimes see temporary black wallpaper after setting a new image
wallpaper because of:
- decode bitmap twice, results in long latency until drawing.
- the set wallpaper apis didn't sync with wallpaper rendering well.
Solutions:
- Only decode bitmap when necessary.
- Make set wallpaper apis wait for image wallpaper rendering finished.
Bug: 194080642
Test: see b/194080642#comment3
Test: atest WallpaperManagerServiceTests --iterations 50
Test: atest SystemUITests
Change-Id: I369eff5195571161cf286b3ec97175481b02eed7
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions