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
d7bb6e72
authored
Jul 02, 2021
by
aquilescanta
Committed by
kim-vde
Jul 09, 2021
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Fix typo in internal class name
PiperOrigin-RevId: 382766969
parent
227ac89e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
library/core/src/main/java/com/google/android/exoplayer2/ExoPlayerImplInternal.java
library/core/src/main/java/com/google/android/exoplayer2/ExoPlayerImplInternal.java
View file @
d7bb6e72
...
@@ -595,13 +595,13 @@ import java.util.concurrent.atomic.AtomicBoolean;
...
@@ -595,13 +595,13 @@ import java.util.concurrent.atomic.AtomicBoolean;
if
(
Util
.
SDK_INT
>=
21
&&
PlatformOperationsWrapperV21
.
isMediaDrmStateException
(
cause
))
{
if
(
Util
.
SDK_INT
>=
21
&&
PlatformOperationsWrapperV21
.
isMediaDrmStateException
(
cause
))
{
errorCode
=
PlatformOperationsWrapperV21
.
mediaDrmStateExceptionToErrorCode
(
cause
);
errorCode
=
PlatformOperationsWrapperV21
.
mediaDrmStateExceptionToErrorCode
(
cause
);
}
else
if
(
Util
.
SDK_INT
>=
23
}
else
if
(
Util
.
SDK_INT
>=
23
&&
PlaformOperationsWrapperV23
.
isMediaDrmResetException
(
cause
))
{
&&
Pla
t
formOperationsWrapperV23
.
isMediaDrmResetException
(
cause
))
{
errorCode
=
PlaybackException
.
ERROR_CODE_DRM_SYSTEM_ERROR
;
errorCode
=
PlaybackException
.
ERROR_CODE_DRM_SYSTEM_ERROR
;
}
else
if
(
Util
.
SDK_INT
>=
18
}
else
if
(
Util
.
SDK_INT
>=
18
&&
PlaformOperationsWrapperV18
.
isNotProvisionedException
(
cause
))
{
&&
Pla
t
formOperationsWrapperV18
.
isNotProvisionedException
(
cause
))
{
errorCode
=
PlaybackException
.
ERROR_CODE_DRM_PROVISIONING_FAILED
;
errorCode
=
PlaybackException
.
ERROR_CODE_DRM_PROVISIONING_FAILED
;
}
else
if
(
Util
.
SDK_INT
>=
18
}
else
if
(
Util
.
SDK_INT
>=
18
&&
PlaformOperationsWrapperV18
.
isDeniedByServerException
(
cause
))
{
&&
Pla
t
formOperationsWrapperV18
.
isDeniedByServerException
(
cause
))
{
errorCode
=
PlaybackException
.
ERROR_CODE_DRM_DEVICE_REVOKED
;
errorCode
=
PlaybackException
.
ERROR_CODE_DRM_DEVICE_REVOKED
;
}
else
if
(
cause
instanceof
UnsupportedDrmException
)
{
}
else
if
(
cause
instanceof
UnsupportedDrmException
)
{
errorCode
=
PlaybackException
.
ERROR_CODE_DRM_SCHEME_UNSUPPORTED
;
errorCode
=
PlaybackException
.
ERROR_CODE_DRM_SCHEME_UNSUPPORTED
;
...
@@ -3093,7 +3093,7 @@ import java.util.concurrent.atomic.AtomicBoolean;
...
@@ -3093,7 +3093,7 @@ import java.util.concurrent.atomic.AtomicBoolean;
}
}
@RequiresApi
(
18
)
@RequiresApi
(
18
)
private
static
final
class
PlaformOperationsWrapperV18
{
private
static
final
class
Pla
t
formOperationsWrapperV18
{
@DoNotInline
@DoNotInline
public
static
boolean
isNotProvisionedException
(
@Nullable
Throwable
throwable
)
{
public
static
boolean
isNotProvisionedException
(
@Nullable
Throwable
throwable
)
{
...
@@ -3128,7 +3128,7 @@ import java.util.concurrent.atomic.AtomicBoolean;
...
@@ -3128,7 +3128,7 @@ import java.util.concurrent.atomic.AtomicBoolean;
}
}
@RequiresApi
(
23
)
@RequiresApi
(
23
)
private
static
final
class
PlaformOperationsWrapperV23
{
private
static
final
class
Pla
t
formOperationsWrapperV23
{
@DoNotInline
@DoNotInline
public
static
boolean
isMediaDrmResetException
(
@Nullable
Throwable
throwable
)
{
public
static
boolean
isMediaDrmResetException
(
@Nullable
Throwable
throwable
)
{
...
...
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