Skip to content

Commit 16c79c8

Browse files
committed
Fixed player resuming from start when clicking on a timestamp
1 parent 1408150 commit 16c79c8

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

app/src/main/java/org/schabi/newpipe/player/Player.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,9 @@ public void handleIntent(@NonNull final Intent intent) {
462462
if (oldPlayerType != playerType && playQueue != null) {
463463
// If playerType changes from one to another we should reload the player
464464
// (to disable/enable video stream or to set quality)
465-
setRecovery();
465+
if (playerType != PlayerType.POPUP) {
466+
setRecovery();
467+
}
466468
reloadPlayQueueManager();
467469
}
468470

0 commit comments

Comments
 (0)