Remove unnecessary volatile

This field is always accessed with the mutex held.

PiperOrigin-RevId: 534027096
(cherry picked from commit ea0b94c0eb)
This commit is contained in:
andrewlewis 2023-05-22 12:50:02 +01:00 committed by Tofunmi Adigun-Hameed
parent 8a9503c01a
commit 8df047108c

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