mirror of
https://github.com/androidx/media.git
synced 2025-05-16 03:59:54 +08:00
Suppress warnings in preparation for Checker Framework 3.13.0 upgrade.
LSC: go/checker-lsc Tested: TAP train for global presubmit queue http://test/OCL:379220771:BASE:379219228:1623675799153:ea986c7c PiperOrigin-RevId: 379284240
This commit is contained in:
parent
8cc1328d89
commit
0b97f08955
@ -375,7 +375,7 @@ public class PlaybackException extends Exception implements Bundleable {
|
||||
try {
|
||||
Field creatorField = Class.forName(className).getField("CREATOR");
|
||||
// It is ok to pass null to Field.get for static fields.
|
||||
@SuppressWarnings("argument.type.incompatible")
|
||||
@SuppressWarnings({"argument.type.incompatible", "nullness:argument"})
|
||||
Creator<PlaybackException> creator =
|
||||
(Creator<PlaybackException>) creatorField.get(/* obj= */ null);
|
||||
if (creator != null) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user