- Added realracing3-community.apk (71.57 MB) - Removed 32-bit support (armeabi-v7a) - Only includes arm64-v8a libraries - Decompiled source code included - Added README-community.md with analysis
48 lines
1.6 KiB
Java
48 lines
1.6 KiB
Java
package com.mbridge.msdk.playercommon.exoplayer2.offline;
|
|
|
|
import android.net.Uri;
|
|
import androidx.annotation.Nullable;
|
|
import com.mbridge.msdk.playercommon.exoplayer2.source.TrackGroupArray;
|
|
import java.util.List;
|
|
|
|
/* loaded from: classes4.dex */
|
|
public final class ProgressiveDownloadHelper extends DownloadHelper {
|
|
|
|
@Nullable
|
|
private final String customCacheKey;
|
|
private final Uri uri;
|
|
|
|
@Override // com.mbridge.msdk.playercommon.exoplayer2.offline.DownloadHelper
|
|
public final int getPeriodCount() {
|
|
return 1;
|
|
}
|
|
|
|
@Override // com.mbridge.msdk.playercommon.exoplayer2.offline.DownloadHelper
|
|
public final void prepareInternal() {
|
|
}
|
|
|
|
public ProgressiveDownloadHelper(Uri uri) {
|
|
this(uri, null);
|
|
}
|
|
|
|
public ProgressiveDownloadHelper(Uri uri, @Nullable String str) {
|
|
this.uri = uri;
|
|
this.customCacheKey = str;
|
|
}
|
|
|
|
@Override // com.mbridge.msdk.playercommon.exoplayer2.offline.DownloadHelper
|
|
public final TrackGroupArray getTrackGroups(int i) {
|
|
return TrackGroupArray.EMPTY;
|
|
}
|
|
|
|
@Override // com.mbridge.msdk.playercommon.exoplayer2.offline.DownloadHelper
|
|
public final DownloadAction getDownloadAction(@Nullable byte[] bArr, List<TrackKey> list) {
|
|
return new ProgressiveDownloadAction(this.uri, false, bArr, this.customCacheKey);
|
|
}
|
|
|
|
@Override // com.mbridge.msdk.playercommon.exoplayer2.offline.DownloadHelper
|
|
public final DownloadAction getRemoveAction(@Nullable byte[] bArr) {
|
|
return new ProgressiveDownloadAction(this.uri, true, bArr, this.customCacheKey);
|
|
}
|
|
}
|