mirror of
https://github.com/androidx/media.git
synced 2025-05-03 21:57:46 +08:00
Remove unnecessary warning suppressions
PiperOrigin-RevId: 277709114
This commit is contained in:
parent
a7b242998a
commit
d596fcd9ba
@ -478,7 +478,6 @@ public interface Player {
|
|||||||
abstract class DefaultEventListener implements EventListener {
|
abstract class DefaultEventListener implements EventListener {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@SuppressWarnings("deprecation")
|
|
||||||
public void onTimelineChanged(Timeline timeline, @TimelineChangeReason int reason) {
|
public void onTimelineChanged(Timeline timeline, @TimelineChangeReason int reason) {
|
||||||
Object manifest = null;
|
Object manifest = null;
|
||||||
if (timeline.getWindowCount() == 1) {
|
if (timeline.getWindowCount() == 1) {
|
||||||
|
@ -820,7 +820,6 @@ public class DefaultTrackSelector extends MappingTrackSelector {
|
|||||||
* @deprecated This instance does not have {@link Context} constraints configured. Use {@link
|
* @deprecated This instance does not have {@link Context} constraints configured. Use {@link
|
||||||
* #getDefaults(Context)} instead.
|
* #getDefaults(Context)} instead.
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings("deprecation")
|
|
||||||
@Deprecated
|
@Deprecated
|
||||||
public static final Parameters DEFAULT = DEFAULT_WITHOUT_CONTEXT;
|
public static final Parameters DEFAULT = DEFAULT_WITHOUT_CONTEXT;
|
||||||
|
|
||||||
@ -1458,7 +1457,6 @@ public class DefaultTrackSelector extends MappingTrackSelector {
|
|||||||
|
|
||||||
/** @deprecated Use {@link #DefaultTrackSelector(Context, TrackSelection.Factory)}. */
|
/** @deprecated Use {@link #DefaultTrackSelector(Context, TrackSelection.Factory)}. */
|
||||||
@Deprecated
|
@Deprecated
|
||||||
@SuppressWarnings("deprecation")
|
|
||||||
public DefaultTrackSelector(TrackSelection.Factory trackSelectionFactory) {
|
public DefaultTrackSelector(TrackSelection.Factory trackSelectionFactory) {
|
||||||
this(Parameters.DEFAULT_WITHOUT_CONTEXT, trackSelectionFactory);
|
this(Parameters.DEFAULT_WITHOUT_CONTEXT, trackSelectionFactory);
|
||||||
}
|
}
|
||||||
|
@ -89,7 +89,6 @@ import javax.microedition.khronos.opengles.GL10;
|
|||||||
|
|
||||||
// Kept in field rather than a local variable in order not to get garbage collected before
|
// Kept in field rather than a local variable in order not to get garbage collected before
|
||||||
// glDrawArrays uses it.
|
// glDrawArrays uses it.
|
||||||
@SuppressWarnings("FieldCanBeLocal")
|
|
||||||
private FloatBuffer[] textureCoords;
|
private FloatBuffer[] textureCoords;
|
||||||
|
|
||||||
private int program;
|
private int program;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user