Ensure blur radius goes to 0
If the animation is canceled, it may not end the blur radius at 0, which affects NotificationShadeWindowControllerImpl for wake and unlock scenarios. When this is not 0, SysUI then believes it should still be visible and retain focus, which absorbs all touches that should be going to launcher. It was also noticed that some users has reported a blurry background. Bug: 220703613 Test: manual (wake and unlock over and over again) Change-Id: Ief7ba5eabbcbbe08e2f2dec3072420aa5539fa8f
This commit is contained in:
@@ -259,6 +259,7 @@ class NotificationShadeDepthController @Inject constructor(
|
||||
addListener(object : AnimatorListenerAdapter() {
|
||||
override fun onAnimationEnd(animation: Animator?) {
|
||||
keyguardAnimator = null
|
||||
wakeAndUnlockBlurRadius = 0f
|
||||
scheduleUpdate()
|
||||
}
|
||||
})
|
||||
@@ -439,7 +440,7 @@ class NotificationShadeDepthController @Inject constructor(
|
||||
it.println("StatusBarWindowBlurController:")
|
||||
it.increaseIndent()
|
||||
it.println("shadeExpansion: $shadeExpansion")
|
||||
it.println("shouldApplyShaeBlur: ${shouldApplyShadeBlur()}")
|
||||
it.println("shouldApplyShadeBlur: ${shouldApplyShadeBlur()}")
|
||||
it.println("shadeAnimation: ${shadeAnimation.radius}")
|
||||
it.println("brightnessMirrorRadius: ${brightnessMirrorSpring.radius}")
|
||||
it.println("wakeAndUnlockBlur: $wakeAndUnlockBlurRadius")
|
||||
|
||||
Reference in New Issue
Block a user