Commit 28575a1 1 parent f0c0f6e commit 28575a1 Copy full SHA for 28575a1
File tree 1 file changed +1
-3
lines changed
library/core/src/main/java/com/google/android/exoplayer2/drm
1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change 17
17
18
18
import android .text .TextUtils ;
19
19
import androidx .annotation .Nullable ;
20
- import androidx .annotation .RequiresApi ;
21
20
import com .google .android .exoplayer2 .C ;
22
21
import com .google .android .exoplayer2 .drm .ExoMediaDrm .KeyRequest ;
23
22
import com .google .android .exoplayer2 .drm .ExoMediaDrm .ProvisionRequest ;
34
33
import java .util .UUID ;
35
34
36
35
/** A {@link MediaDrmCallback} that makes requests using {@link HttpDataSource} instances. */
37
- @ RequiresApi (18 )
38
36
public final class HttpMediaDrmCallback implements MediaDrmCallback {
39
37
40
38
private static final int MAX_MANUAL_REDIRECTS = 5 ;
@@ -50,7 +48,7 @@ public final class HttpMediaDrmCallback implements MediaDrmCallback {
50
48
* @param dataSourceFactory A factory from which to obtain {@link HttpDataSource} instances.
51
49
*/
52
50
public HttpMediaDrmCallback (String defaultLicenseUrl , HttpDataSource .Factory dataSourceFactory ) {
53
- this (defaultLicenseUrl , false , dataSourceFactory );
51
+ this (defaultLicenseUrl , /* forceDefaultLicenseUrl= */ false , dataSourceFactory );
54
52
}
55
53
56
54
/**
You can’t perform that action at this time.
0 commit comments