mirror of
https://github.com/samsonjs/media.git
synced 2026-04-11 12:15:47 +00:00
Suppress spurious unchecked cast warning in LibraryResult
PiperOrigin-RevId: 438534391
This commit is contained in:
parent
aadbf3d59b
commit
bd257d24ed
1 changed files with 2 additions and 0 deletions
|
|
@ -279,6 +279,8 @@ public final class LibraryResult<V> implements Bundleable {
|
|||
private static final int FIELD_VALUE = 3;
|
||||
private static final int FIELD_VALUE_TYPE = 4;
|
||||
|
||||
// Casting V to ImmutableList<MediaItem> is safe if valueType == VALUE_TYPE_ITEM_LIST.
|
||||
@SuppressWarnings("unchecked")
|
||||
@UnstableApi
|
||||
@Override
|
||||
public Bundle toBundle() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue