diff --git a/google3/third_party/java_src/android_libs/media/libraries/effect/src/main/java/androidx/media3/effect/FinalMatrixTransformationProcessorWrapper.java b/google3/third_party/java_src/android_libs/media/libraries/effect/src/main/java/androidx/media3/effect/FinalMatrixTransformationProcessorWrapper.java index 3561c77907..7916d974e5 100644 --- a/google3/third_party/java_src/android_libs/media/libraries/effect/src/main/java/androidx/media3/effect/FinalMatrixTransformationProcessorWrapper.java +++ b/google3/third_party/java_src/android_libs/media/libraries/effect/src/main/java/androidx/media3/effect/FinalMatrixTransformationProcessorWrapper.java @@ -79,7 +79,7 @@ import org.checkerframework.checker.nullness.qual.MonotonicNonNull; @Nullable private SurfaceViewWrapper debugSurfaceViewWrapper; private @MonotonicNonNull Listener listener; private @MonotonicNonNull Pair outputSizeBeforeSurfaceTransformation; - private @MonotonicNonNull SurfaceView debugSurfaceView; + @Nullable private SurfaceView debugSurfaceView; private volatile boolean outputSizeOrRotationChanged; @@ -229,6 +229,7 @@ import org.checkerframework.checker.nullness.qual.MonotonicNonNull; debugSurfaceViewWrapper = new SurfaceViewWrapper(eglDisplay, eglContext, useHdr, debugSurfaceView); } + this.debugSurfaceView = debugSurfaceView; } if (matrixTransformationProcessor != null && outputSizeOrRotationChanged) {