diff options
author | Josh Tsuji <tsuji@google.com> | 2021-06-30 17:32:53 -0400 |
---|---|---|
committer | Josh Tsuji <tsuji@google.com> | 2021-07-01 10:44:15 -0400 |
commit | 3a982ee1ce5403e1d0cb94e98c0b83faf471fbea (patch) | |
tree | 712164b044941e84dc600c3695f09b388c6055de /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | a52ca6db467997e8a90f864b5ff4ced4417a44ba (diff) |
Don't return true for controlling screen off once we've already returned false for this sleep.
This was resulting in a weird partial screen off animation, as it started returning true part of the way through the screen off.
Also, check whether the panel is expanded OR in the process of expanding, so that the animation is disabled in both cases.
Fixes: 192477275
Test: screen off w/ shade expanded, also in landscape
Change-Id: I2939c8f7734db09f99fed6a31939d3d5c15812f3
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions