Suppress incorrect linter error in DebugRenderersFactory method
Method should use @RequiresApi annotation instead of @SdkSuppress PiperOrigin-RevId: 638639225
This commit is contained in:
parent
1f1897709f
commit
96fae82436
@ -17,6 +17,7 @@ package androidx.media3.test.exoplayer.playback.gts;
|
||||
|
||||
import static java.lang.Math.max;
|
||||
|
||||
import android.annotation.SuppressLint;
|
||||
import android.content.Context;
|
||||
import android.media.MediaCrypto;
|
||||
import android.media.MediaFormat;
|
||||
@ -243,6 +244,7 @@ import java.util.ArrayList;
|
||||
super.renderOutputBuffer(codec, index, presentationTimeUs);
|
||||
}
|
||||
|
||||
@SuppressLint("UseSdkSuppress") // Not a test class or method.
|
||||
@RequiresApi(21)
|
||||
@Override
|
||||
protected void renderOutputBufferV21(
|
||||
|
Loading…
x
Reference in New Issue
Block a user