Commit 32339954 by ibaker Committed by Oliver Woodman

Rollback of https://github.com/google/ExoPlayer/commit/4fd881a5516a04409cc0f54d4e6be6c059519f79

*** Original commit ***

Suppress warnings emitted by Checker Framework version 3.0.0

More information:
https://docs.google.com/document/d/16tpK6aXqN68PvTyvt4siM-m7f0NXi_8xEeitLDzr8xY/edit?usp=sharing
Tested:
    TAP --sample ran all affected tests and none failed
    http://test/OCL:279845168:BASE:279870402:1573537714395:80ca701c

***

PiperOrigin-RevId: 284740695
parent 4c4cabdf
......@@ -358,7 +358,7 @@ public class PlayerNotificationManager {
private final Timeline.Window window;
@Nullable private NotificationCompat.Builder builder;
@Nullable private ArrayList<NotificationCompat.Action> builderActions;
@Nullable private List<NotificationCompat.Action> builderActions;
@Nullable private Player player;
@Nullable private PlaybackPreparer playbackPreparer;
private ControlDispatcher controlDispatcher;
......@@ -998,8 +998,6 @@ public class PlayerNotificationManager {
* NotificationCompat.Builder#build()} to obtain the notification, or {@code null} if no
* notification should be displayed.
*/
// incompatible types in argument.
@SuppressWarnings("nullness:argument.type.incompatible")
@Nullable
protected NotificationCompat.Builder createNotification(
Player player,
......@@ -1013,7 +1011,7 @@ public class PlayerNotificationManager {
}
List<String> actionNames = getActions(player);
ArrayList<NotificationCompat.Action> actions = new ArrayList<>(actionNames.size());
List<NotificationCompat.Action> actions = new ArrayList<>(actionNames.size());
for (int i = 0; i < actionNames.size(); i++) {
String actionName = actionNames.get(i);
NotificationCompat.Action action =
......
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