mirror of
https://github.com/androidx/media.git
synced 2025-05-17 12:39:52 +08:00
Suppress warnings in preparation for Checker Framework 3.3.0 upgrade.
PiperOrigin-RevId: 305810757
This commit is contained in:
parent
2dafb8fd69
commit
d1e0572448
@ -166,7 +166,8 @@ public final class CronetEngineWrapper {
|
||||
private final boolean preferGMSCoreCronet;
|
||||
|
||||
// Multi-catch can only be used for API 19+ in this case.
|
||||
@SuppressWarnings("UseMultiCatch")
|
||||
// incompatible types in argument.
|
||||
@SuppressWarnings({"UseMultiCatch", "nullness:argument.type.incompatible"})
|
||||
public CronetProviderComparator(boolean preferGMSCoreCronet) {
|
||||
// GMSCore CronetProvider classes are only available in some configurations.
|
||||
// Thus, we use reflection to copy static name.
|
||||
|
@ -96,6 +96,8 @@ import org.checkerframework.checker.nullness.qual.MonotonicNonNull;
|
||||
return Assertions.checkNotNull(trackGroups);
|
||||
}
|
||||
|
||||
// unboxing a possibly-null reference streamPeriodIndices.get(streams[i])
|
||||
@SuppressWarnings("nullness:unboxing.of.nullable")
|
||||
@Override
|
||||
public long selectTracks(
|
||||
@NullableType TrackSelection[] selections,
|
||||
|
Loading…
x
Reference in New Issue
Block a user