diff options
author | Ahan Wu <ahanwu@google.com> | 2021-08-02 23:22:08 -0800 |
---|---|---|
committer | Ahan Wu <ahanwu@google.com> | 2021-09-09 00:10:44 -0800 |
commit | 9c7a45f339aedcf6ad6f1fb379a1c47682ecc370 (patch) | |
tree | 8790edb9d7737be5254472fcd07fd14fc8927731 /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp | |
parent | 936f28842ee69d10c97eb5f0f802ec749a3b9097 (diff) |
Fix temporary black wallpaper 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
Change-Id: I369eff5195571161cf286b3ec97175481b02eed7
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions