mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +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 = 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() {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue