diff options
author | Ahan Wu <ahanwu@google.com> | 2019-07-04 20:50:00 +0800 |
---|---|---|
committer | Ahan Wu <ahanwu@google.com> | 2019-07-09 21:48:49 +0800 |
commit | b378059f1152ed41c9b096c4c48701a1f4bb900e (patch) | |
tree | d95f06e2718c028b4860e90566f5471e62477148 /startop/scripts/lib/cmd_utils.py | |
parent | 6f672a38356457bd23c89efaa8f1b89953843662 (diff) |
Fix wallpaper flicker issue while transiting from home to aod.
There is a race condition between window visibility and wallpaper
transition, so wallpaper window might become visible before background
thread has done its rendering work and a flicker happens.
This solution just lets main thread wait for background thread to
synchronize window visibility and wallpaper transition.
Bug: 136643341
Test: atest SystemUITests
Test: Screen off Launcher/APP -> AOD : No extra transition by design,
The duration between press Power Key and AOD show should be same.
Test: Screen on AOD -> Launcher : Face unlock work without flickr
Test: Screen off Keyguard -> AOD : Either Panel or background transition without flickr
Test: Screen on AOD -> Keyguard : Either Panel or background transition without flickr
Test: Reach in AOD -> Keyguard : Either Panel or background transition without flickr
Test: Reach out Keyguard -> AOD : Either Panel or background transition without flickr
Test: Manually operate and observe log.
Change-Id: Iebfdac18972569864c047bc2c4a33d7791940896
Diffstat (limited to 'startop/scripts/lib/cmd_utils.py')
0 files changed, 0 insertions, 0 deletions