Skip to content
Commit 64c1f5c9 authored by Beverly's avatar Beverly Committed by Beverly Tai
Browse files

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
parent 9c9916e4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment