mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00:00
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
1 changed files with 2 additions and 0 deletions
|
|
@ -17,6 +17,7 @@ package androidx.media3.test.exoplayer.playback.gts;
|
||||||
|
|
||||||
import static java.lang.Math.max;
|
import static java.lang.Math.max;
|
||||||
|
|
||||||
|
import android.annotation.SuppressLint;
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
import android.media.MediaCrypto;
|
import android.media.MediaCrypto;
|
||||||
import android.media.MediaFormat;
|
import android.media.MediaFormat;
|
||||||
|
|
@ -243,6 +244,7 @@ import java.util.ArrayList;
|
||||||
super.renderOutputBuffer(codec, index, presentationTimeUs);
|
super.renderOutputBuffer(codec, index, presentationTimeUs);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@SuppressLint("UseSdkSuppress") // Not a test class or method.
|
||||||
@RequiresApi(21)
|
@RequiresApi(21)
|
||||||
@Override
|
@Override
|
||||||
protected void renderOutputBufferV21(
|
protected void renderOutputBufferV21(
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue