Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
SDK
/
exoplayer
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
28575a1f
authored
Feb 17, 2020
by
olly
Committed by
Oliver Woodman
Feb 18, 2020
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Fix some TargetApi/RequiresApi annotations
PiperOrigin-RevId: 295607866
parent
f0c0f6eb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
3 deletions
library/core/src/main/java/com/google/android/exoplayer2/drm/HttpMediaDrmCallback.java
library/core/src/main/java/com/google/android/exoplayer2/drm/HttpMediaDrmCallback.java
View file @
28575a1f
...
...
@@ -17,7 +17,6 @@ package com.google.android.exoplayer2.drm;
import
android.text.TextUtils
;
import
androidx.annotation.Nullable
;
import
androidx.annotation.RequiresApi
;
import
com.google.android.exoplayer2.C
;
import
com.google.android.exoplayer2.drm.ExoMediaDrm.KeyRequest
;
import
com.google.android.exoplayer2.drm.ExoMediaDrm.ProvisionRequest
;
...
...
@@ -34,7 +33,6 @@ import java.util.Map;
import
java.util.UUID
;
/** A {@link MediaDrmCallback} that makes requests using {@link HttpDataSource} instances. */
@RequiresApi
(
18
)
public
final
class
HttpMediaDrmCallback
implements
MediaDrmCallback
{
private
static
final
int
MAX_MANUAL_REDIRECTS
=
5
;
...
...
@@ -50,7 +48,7 @@ public final class HttpMediaDrmCallback implements MediaDrmCallback {
* @param dataSourceFactory A factory from which to obtain {@link HttpDataSource} instances.
*/
public
HttpMediaDrmCallback
(
String
defaultLicenseUrl
,
HttpDataSource
.
Factory
dataSourceFactory
)
{
this
(
defaultLicenseUrl
,
false
,
dataSourceFactory
);
this
(
defaultLicenseUrl
,
/* forceDefaultLicenseUrl= */
false
,
dataSourceFactory
);
}
/**
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment