Commit bd257d24 by ibaker Committed by Ian Baker

Suppress spurious unchecked cast warning in LibraryResult

PiperOrigin-RevId: 438534391
parent aadbf3d5
......@@ -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() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment