Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f9309850 authored by Kshitij Gupta's avatar Kshitij Gupta
Browse files

Keyguard: Defer doze-to-lockscreen transition on shade drag

- When the device transitions from dozing to the lockscreen at the same
  time the user pulls down the notification shade, their respective
  alpha animations can conflict, causing visual glitches.
- This change introduces logic to prioritize the shade drag animation.
  A new flow, dozingToLockscreenAlpha, monitors the shade expansion
  alpha. If the shade is being dragged, the doze-to-lockscreen alpha
  animation is suppressed by switching to an emptyFlow().

Bug: 419763981
Flag: com.android.systemui.defer_doze_transition_on_shade_drag
Test: atest KeyguardRootViewModelTest
Test: Manual - b/419763981#comment10
Change-Id: Ie037c88b7762a4d33a76380c558c42a2d48c8b12
parent f0e9f95d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment