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
bd257d24
authored
Mar 31, 2022
by
ibaker
Committed by
Ian Baker
Apr 06, 2022
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Suppress spurious unchecked cast warning in LibraryResult
PiperOrigin-RevId: 438534391
parent
aadbf3d5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
libraries/session/src/main/java/androidx/media3/session/LibraryResult.java
libraries/session/src/main/java/androidx/media3/session/LibraryResult.java
View file @
bd257d24
...
@@ -279,6 +279,8 @@ public final class LibraryResult<V> implements Bundleable {
...
@@ -279,6 +279,8 @@ public final class LibraryResult<V> implements Bundleable {
private
static
final
int
FIELD_VALUE
=
3
;
private
static
final
int
FIELD_VALUE
=
3
;
private
static
final
int
FIELD_VALUE_TYPE
=
4
;
private
static
final
int
FIELD_VALUE_TYPE
=
4
;
// Casting V to ImmutableList<MediaItem> is safe if valueType == VALUE_TYPE_ITEM_LIST.
@SuppressWarnings
(
"unchecked"
)
@UnstableApi
@UnstableApi
@Override
@Override
public
Bundle
toBundle
()
{
public
Bundle
toBundle
()
{
...
...
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