Merge "Do not blur shade while fading away" into rvc-dev am: 60be958cfc
Change-Id: I66057d66fc809c9c115c59bd6b3e714e802a4d59
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