diff --git a/app/src/main/java/org/schabi/newpipe/player/playqueue/PlayQueue.java b/app/src/main/java/org/schabi/newpipe/player/playqueue/PlayQueue.java index 4c6230964..cfa2ab316 100644 --- a/app/src/main/java/org/schabi/newpipe/player/playqueue/PlayQueue.java +++ b/app/src/main/java/org/schabi/newpipe/player/playqueue/PlayQueue.java @@ -539,7 +539,8 @@ public abstract class PlayQueue implements Serializable { public boolean equalStreamsAndIndex(@Nullable final PlayQueue other) { if (equalStreams(other)) { - return other.getIndex() == getIndex(); + //noinspection ConstantConditions + return other.getIndex() == getIndex(); //NOSONAR: other is not null } return false; }