From 16c79c821973016e9a8d5264049aed6bf82ad2b3 Mon Sep 17 00:00:00 2001 From: Thompson3142 Date: Thu, 21 Nov 2024 22:42:42 +0100 Subject: [PATCH] Fixed player resuming from start when clicking on a timestamp --- app/src/main/java/org/schabi/newpipe/player/Player.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/org/schabi/newpipe/player/Player.java b/app/src/main/java/org/schabi/newpipe/player/Player.java index 49e72328e..110a34e1b 100644 --- a/app/src/main/java/org/schabi/newpipe/player/Player.java +++ b/app/src/main/java/org/schabi/newpipe/player/Player.java @@ -462,7 +462,9 @@ public final class Player implements PlaybackListener, Listener { if (oldPlayerType != playerType && playQueue != null) { // If playerType changes from one to another we should reload the player // (to disable/enable video stream or to set quality) - setRecovery(); + if (playerType != PlayerType.POPUP) { + setRecovery(); + } reloadPlayQueueManager(); }