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
f66c9290
authored
Mar 01, 2022
by
Ian Baker
Browse files
Options
_('Browse Files')
Download
Plain Diff
Merge pull request #10011 from tonykwok:dev-v2
PiperOrigin-RevId: 431395359
parents
95c74f04
d7bd15fe
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletions
library/core/src/main/java/com/google/android/exoplayer2/drm/UnsupportedDrmException.java
library/core/src/main/java/com/google/android/exoplayer2/drm/UnsupportedDrmException.java
View file @
f66c9290
...
@@ -23,6 +23,8 @@ import static java.lang.annotation.ElementType.TYPE_USE;
...
@@ -23,6 +23,8 @@ import static java.lang.annotation.ElementType.TYPE_USE;
import
androidx.annotation.IntDef
;
import
androidx.annotation.IntDef
;
import
java.lang.annotation.Documented
;
import
java.lang.annotation.Documented
;
import
java.lang.annotation.Retention
;
import
java.lang.annotation.RetentionPolicy
;
import
java.lang.annotation.Target
;
import
java.lang.annotation.Target
;
/** Thrown when the requested DRM scheme is not supported. */
/** Thrown when the requested DRM scheme is not supported. */
...
@@ -33,8 +35,9 @@ public final class UnsupportedDrmException extends Exception {
...
@@ -33,8 +35,9 @@ public final class UnsupportedDrmException extends Exception {
* #REASON_INSTANTIATION_ERROR}.
* #REASON_INSTANTIATION_ERROR}.
*/
*/
// @Target list includes both 'default' targets and TYPE_USE, to ensure backwards compatibility
// @Target list includes both 'default' targets and TYPE_USE, to ensure backwards compatibility
// with Kotlin usages from before TYPE_USE was added.
@Retention(RetentionPolicy.SOURCE)
// with Kotlin usages from before TYPE_USE was added.
@Documented
@Documented
@Retention
(
RetentionPolicy
.
SOURCE
)
@Target
({
FIELD
,
METHOD
,
PARAMETER
,
LOCAL_VARIABLE
,
TYPE_USE
})
@Target
({
FIELD
,
METHOD
,
PARAMETER
,
LOCAL_VARIABLE
,
TYPE_USE
})
@IntDef
({
REASON_UNSUPPORTED_SCHEME
,
REASON_INSTANTIATION_ERROR
})
@IntDef
({
REASON_UNSUPPORTED_SCHEME
,
REASON_INSTANTIATION_ERROR
})
public
@interface
Reason
{}
public
@interface
Reason
{}
...
...
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