Loading packages/SystemUI/src/com/android/systemui/media/MediaViewManager.kt +1 −1 Original line number Original line Diff line number Diff line Loading @@ -299,7 +299,7 @@ class MediaViewManager @Inject constructor( firstPlayer.measure(input) firstPlayer.measure(input) // Relayouting is necessary in motionlayout to obtain its size properly .... // Relayouting is necessary in motionlayout to obtain its size properly .... it.layout(0, 0, it.measuredWidth, it.measuredHeight) it.layout(0, 0, it.measuredWidth, it.measuredHeight) val result = MeasurementOutput(it.measuredWidth, it.measuredHeight) result = MeasurementOutput(it.measuredWidth, it.measuredHeight) it.progress = previousProgress it.progress = previousProgress if (desiredState != null) { if (desiredState != null) { // remeasure it to the old size again! // remeasure it to the old size again! Loading Loading
packages/SystemUI/src/com/android/systemui/media/MediaViewManager.kt +1 −1 Original line number Original line Diff line number Diff line Loading @@ -299,7 +299,7 @@ class MediaViewManager @Inject constructor( firstPlayer.measure(input) firstPlayer.measure(input) // Relayouting is necessary in motionlayout to obtain its size properly .... // Relayouting is necessary in motionlayout to obtain its size properly .... it.layout(0, 0, it.measuredWidth, it.measuredHeight) it.layout(0, 0, it.measuredWidth, it.measuredHeight) val result = MeasurementOutput(it.measuredWidth, it.measuredHeight) result = MeasurementOutput(it.measuredWidth, it.measuredHeight) it.progress = previousProgress it.progress = previousProgress if (desiredState != null) { if (desiredState != null) { // remeasure it to the old size again! // remeasure it to the old size again! Loading