mirror of
https://github.com/androidx/media.git
synced 2025-04-30 06:46:50 +08: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
@ -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…
x
Reference in New Issue
Block a user