Small refactor getPlayQueueFromCache
(cherry picked from commit 10fc6bf2a3)
This commit is contained in:
parent
14163c1576
commit
1f936abc3d
1 changed files with 1 additions and 5 deletions
|
|
@ -567,11 +567,7 @@ public final class Player implements PlaybackListener, Listener {
|
||||||
if (queueCache == null) {
|
if (queueCache == null) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
final PlayQueue newQueue = SerializedCache.getInstance().take(queueCache, PlayQueue.class);
|
return SerializedCache.getInstance().take(queueCache, PlayQueue.class);
|
||||||
if (newQueue == null) {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
return newQueue;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void initUIsForCurrentPlayerType() {
|
private void initUIsForCurrentPlayerType() {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue