diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/LockscreenShadeTransitionController.kt b/packages/SystemUI/src/com/android/systemui/statusbar/LockscreenShadeTransitionController.kt index 4732a8c095007..4a9049f2ce282 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/LockscreenShadeTransitionController.kt +++ b/packages/SystemUI/src/com/android/systemui/statusbar/LockscreenShadeTransitionController.kt @@ -441,7 +441,9 @@ class LockscreenShadeTransitionController @Inject constructor( } private fun transitionToShadeAmountCommon(dragDownAmount: Float) { - if (depthControllerTransitionDistance > 0) { + if (depthControllerTransitionDistance == 0) { // split shade + depthController.transitionToFullShadeProgress = 0f + } else { val depthProgress = MathUtils.saturate(dragDownAmount / depthControllerTransitionDistance) depthController.transitionToFullShadeProgress = depthProgress