Fix scrim alphas getting reset during the bouncer/alt-bouncer->gone transition
[Alt]Bouncer -> Gone transition falls into these buckets:
1. Swipe up from lockscreen -> bouncer -> gone
- Lockscreen dismiss animation plays from the bouncer and device is entered.
2. Lockscreen notif click -> bouncer -> gone,
- Bouncer hidden and dismiss animation plays from lockscreen
- willRunDismissFromKeyguard is true
3. Expand shade, click on something -> bouncer -> gone
- Bouncer hidden and dismiss/launch animation plays from lockscreen (expanded shade)
- willRunDismissFromKeyguard && isShadeOpen is true
4. Expand shade, do inline reply or edit QS -> bouncer -> gone
- Bouncer hidden, no dismiss animation and expanded shade is visible after
- willRunDismissFromKeyguard is false and leaveShadeOpen is true
Summary of changes:
- Update bouncer to gone flows to handle these 4 scenarios when bouncer blur is enabled and shade blur is enabled/not enabled
- Add additional logging info to ScrimController for debugging.
Fixes: 405368373
Fixes: 405424190
Bug: 381263619
Flag: com.android.systemui.bouncer_ui_revamp
Flag: com.android.systemui.notification_shade_blur
Test: verified manually
Test: unit tests pending
Change-Id: I05fb42c08d765bcad5cb029fd5b26080d8247ab1
Loading
Please register or sign in to comment