Suppress spurious unchecked cast warning in LibraryResult
PiperOrigin-RevId: 438534391
This commit is contained in:
parent
aadbf3d59b
commit
bd257d24ed
@ -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…
x
Reference in New Issue
Block a user