kopia lustrzana https://github.com/TeamNewPipe/NewPipe
Fix null pointer exception in player initialization
rodzic
cf9b482be2
commit
3bc661f583
|
@ -675,6 +675,7 @@ public final class Player implements
|
|||
&& isPlaybackResumeEnabled(this)
|
||||
&& !samePlayQueue
|
||||
&& !newQueue.isEmpty()
|
||||
&& newQueue.getItem() != null
|
||||
&& newQueue.getItem().getRecoveryPosition() == PlayQueueItem.RECOVERY_UNSET) {
|
||||
databaseUpdateDisposable.add(recordManager.loadStreamState(newQueue.getItem())
|
||||
.observeOn(AndroidSchedulers.mainThread())
|
||||
|
|
Ładowanie…
Reference in New Issue