diff options
| author | 2022-05-09 18:33:37 +0000 | |
|---|---|---|
| committer | 2022-05-09 18:49:00 +0000 | |
| commit | 64c1f5c95b29e0a563b11fcde9d1974ff0cdbf81 (patch) | |
| tree | 33825eabd8c4f88d6925e015a09a29526c60d635 /libs/androidfw/StringPool.cpp | |
| parent | 9c9916e4d9a4f9e8c68c23f251a48e5b6da1f3ce (diff) | |
Don't animate unlocked screen off if QS is expanded
Instead of determining whether to run the unlocked screen
off animation based on fullyCollapsed, check isExpanded which is
the expanded state onPanelExpansionChanged uses when
sending panel expansion updates to listeners.
This eventually updates
DozeParameters#canControlScreenOff => and then checks
UnlockedScreenOffAnimationController#shouldPlayUnlockedScreenOffAnimation
Test: manually swipe down from home screen to
reveal QS, then press power button to AoD, no animation/jank
Fixes: 228786469
Change-Id: I0384e1300b6b50aaa8a119d11bf71186fb5379e8
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions