diff --git a/library/common/src/main/java/com/google/android/exoplayer2/util/Util.java b/library/common/src/main/java/com/google/android/exoplayer2/util/Util.java index dbbc7b7343..19acbdcb42 100644 --- a/library/common/src/main/java/com/google/android/exoplayer2/util/Util.java +++ b/library/common/src/main/java/com/google/android/exoplayer2/util/Util.java @@ -2489,6 +2489,7 @@ public final class Util { * @param toIndex The index up to which elements should be moved (exclusive). * @param newFromIndex The new from index. */ + @SuppressWarnings("ExtendsObject") // See go/lsc-extends-object public static void moveItems( List items, int fromIndex, int toIndex, int newFromIndex) { ArrayDeque removedItems = new ArrayDeque<>();