package com.mbridge.msdk.playercommon.exoplayer2.trackselection; import androidx.annotation.Nullable; import com.mbridge.msdk.playercommon.exoplayer2.source.TrackGroup; import com.mbridge.msdk.playercommon.exoplayer2.trackselection.TrackSelection; import com.mbridge.msdk.playercommon.exoplayer2.util.Assertions; /* loaded from: classes4.dex */ public final class FixedTrackSelection extends BaseTrackSelection { @Nullable private final Object data; private final int reason; @Override // com.mbridge.msdk.playercommon.exoplayer2.trackselection.TrackSelection public final int getSelectedIndex() { return 0; } @Override // com.mbridge.msdk.playercommon.exoplayer2.trackselection.TrackSelection @Nullable public final Object getSelectionData() { return this.data; } @Override // com.mbridge.msdk.playercommon.exoplayer2.trackselection.TrackSelection public final int getSelectionReason() { return this.reason; } @Override // com.mbridge.msdk.playercommon.exoplayer2.trackselection.TrackSelection public final void updateSelectedTrack(long j, long j2, long j3) { } public static final class Factory implements TrackSelection.Factory { @Nullable private final Object data; private final int reason; public Factory() { this.reason = 0; this.data = null; } public Factory(int i, @Nullable Object obj) { this.reason = i; this.data = obj; } @Override // com.mbridge.msdk.playercommon.exoplayer2.trackselection.TrackSelection.Factory public final FixedTrackSelection createTrackSelection(TrackGroup trackGroup, int... iArr) { Assertions.checkArgument(iArr.length == 1); return new FixedTrackSelection(trackGroup, iArr[0], this.reason, this.data); } } public FixedTrackSelection(TrackGroup trackGroup, int i) { this(trackGroup, i, 0, null); } public FixedTrackSelection(TrackGroup trackGroup, int i, int i2, @Nullable Object obj) { super(trackGroup, i); this.reason = i2; this.data = obj; } }