commit | 3a982ee1ce5403e1d0cb94e98c0b83faf471fbea | [log] [tgz] |
---|---|---|
author | Josh Tsuji <tsuji@google.com> | Wed Jun 30 17:32:53 2021 -0400 |
committer | Josh Tsuji <tsuji@google.com> | Thu Jul 01 10:44:15 2021 -0400 |
tree | 712164b044941e84dc600c3695f09b388c6055de | |
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