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
a00e7dfe
authored
Dec 11, 2019
by
ibaker
Committed by
Oliver Woodman
Dec 11, 2019
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Remove nullness suppression that's no longer required
PiperOrigin-RevId: 284965120
parent
a97b09d7
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/DefaultDrmSession.java
library/core/src/main/java/com/google/android/exoplayer2/drm/DefaultDrmSession.java
View file @
a00e7dfe
...
@@ -122,7 +122,7 @@ import org.checkerframework.checker.nullness.qual.RequiresNonNull;
...
@@ -122,7 +122,7 @@ import org.checkerframework.checker.nullness.qual.RequiresNonNull;
@Nullable
private
T
mediaCrypto
;
@Nullable
private
T
mediaCrypto
;
@Nullable
private
DrmSessionException
lastException
;
@Nullable
private
DrmSessionException
lastException
;
@Nullable
private
byte
[]
sessionId
;
@Nullable
private
byte
[]
sessionId
;
@MonotonicNonNull
private
byte
[]
offlineLicenseKeySetId
;
private
byte
@MonotonicNonNull
[]
offlineLicenseKeySetId
;
@Nullable
private
KeyRequest
currentKeyRequest
;
@Nullable
private
KeyRequest
currentKeyRequest
;
@Nullable
private
ProvisionRequest
currentProvisionRequest
;
@Nullable
private
ProvisionRequest
currentProvisionRequest
;
...
@@ -147,8 +147,6 @@ import org.checkerframework.checker.nullness.qual.RequiresNonNull;
...
@@ -147,8 +147,6 @@ import org.checkerframework.checker.nullness.qual.RequiresNonNull;
* @param loadErrorHandlingPolicy The {@link LoadErrorHandlingPolicy} for key and provisioning
* @param loadErrorHandlingPolicy The {@link LoadErrorHandlingPolicy} for key and provisioning
* requests.
* requests.
*/
*/
// the constructor does not initialize fields: sessionId
@SuppressWarnings
(
"nullness:initialization.fields.uninitialized"
)
public
DefaultDrmSession
(
public
DefaultDrmSession
(
UUID
uuid
,
UUID
uuid
,
ExoMediaDrm
<
T
>
mediaDrm
,
ExoMediaDrm
<
T
>
mediaDrm
,
...
...
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