Do not blur shade while fading away
The shade will become expanded during face-auth when the keyguard is going away. We need to ignore event until the keyguard is gone. Test: unlock with face auth, from lock screen Fixes: 153559173 Change-Id: If0db37bf22bef22ea3feab52ead6c6020a5a89dc
This commit is contained in:
@@ -250,7 +250,8 @@ class NotificationShadeDepthController @Inject constructor(
|
||||
private fun updateShadeBlur() {
|
||||
var newBlur = 0
|
||||
val state = statusBarStateController.state
|
||||
if (state == StatusBarState.SHADE || state == StatusBarState.SHADE_LOCKED) {
|
||||
if ((state == StatusBarState.SHADE || state == StatusBarState.SHADE_LOCKED) &&
|
||||
!keyguardStateController.isKeyguardFadingAway) {
|
||||
newBlur = blurUtils.blurRadiusOfRatio(shadeExpansion)
|
||||
}
|
||||
shadeSpring.animateTo(newBlur)
|
||||
|
||||
Reference in New Issue
Block a user