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 addf1e2 commit 045e91dCopy full SHA for 045e91d
1 file changed
app/src/main/java/org/schabi/newpipe/player/Player.java
@@ -567,11 +567,7 @@ private static PlayQueue getPlayQueueFromCache(@NonNull final Intent intent) {
567
if (queueCache == null) {
568
return null;
569
}
570
- final PlayQueue newQueue = SerializedCache.getInstance().take(queueCache, PlayQueue.class);
571
- if (newQueue == null) {
572
- return null;
573
- }
574
- return newQueue;
+ return SerializedCache.getInstance().take(queueCache, PlayQueue.class);
575
576
577
private void initUIsForCurrentPlayerType() {
0 commit comments