Small refactor getPlayQueueFromCache
(cherry picked from commit 5525d206dc2b8b888efbd0a51b89a07cff7df97e)
This commit is contained in:
parent
addf1e23b3
commit
045e91df1c
@ -567,11 +567,7 @@ public final class Player implements PlaybackListener, Listener {
|
||||
if (queueCache == null) {
|
||||
return null;
|
||||
}
|
||||
final PlayQueue newQueue = SerializedCache.getInstance().take(queueCache, PlayQueue.class);
|
||||
if (newQueue == null) {
|
||||
return null;
|
||||
}
|
||||
return newQueue;
|
||||
return SerializedCache.getInstance().take(queueCache, PlayQueue.class);
|
||||
}
|
||||
|
||||
private void initUIsForCurrentPlayerType() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user