diff --git a/packages/SystemUI/src/com/android/systemui/media/MediaViewManager.kt b/packages/SystemUI/src/com/android/systemui/media/MediaViewManager.kt index d72c3691c34b6..8db9dcc1ececa 100644 --- a/packages/SystemUI/src/com/android/systemui/media/MediaViewManager.kt +++ b/packages/SystemUI/src/com/android/systemui/media/MediaViewManager.kt @@ -299,7 +299,7 @@ class MediaViewManager @Inject constructor( firstPlayer.measure(input) // Relayouting is necessary in motionlayout to obtain its size properly .... it.layout(0, 0, it.measuredWidth, it.measuredHeight) - val result = MeasurementOutput(it.measuredWidth, it.measuredHeight) + result = MeasurementOutput(it.measuredWidth, it.measuredHeight) it.progress = previousProgress if (desiredState != null) { // remeasure it to the old size again!