We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 013c59f commit 4cd1f20Copy full SHA for 4cd1f20
1 file changed
app/src/main/java/org/schabi/newpipe/player/playqueue/PlayQueue.java
@@ -54,8 +54,7 @@ public abstract class PlayQueue implements Serializable {
54
private transient boolean disposed;
55
56
PlayQueue(final int index, final List<PlayQueueItem> startWith) {
57
- streams = new ArrayList<>();
58
- streams.addAll(startWith);
+ streams = new ArrayList<>(startWith);
59
history = new ArrayList<>();
60
if (streams.size() > index) {
61
history.add(streams.get(index));
0 commit comments