Remove unnecessary volatile

This field is always accessed with the mutex held.

PiperOrigin-RevId: 534027096
This commit is contained in:
andrewlewis 2023-05-22 12:50:02 +01:00 committed by tonihei
parent b0418f1a2a
commit ea0b94c0eb

View File

@ -106,7 +106,8 @@ import org.checkerframework.checker.nullness.qual.MonotonicNonNull;
@Nullable private OnInputStreamProcessedListener onInputStreamProcessedListener;
private boolean frameProcessingStarted;
private volatile boolean outputSurfaceInfoChanged;
@GuardedBy("this")
private boolean outputSurfaceInfoChanged;
@GuardedBy("this")
@Nullable