summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorHarshad Vedartham <harshad1@users.noreply.github.com>2023-11-01 07:56:28 -0700
committerGitHub <noreply@github.com>2023-11-01 15:56:28 +0100
commit2c3fb5610a98d80db25b85fdf0607bfc2b6216fc (patch)
treee3fb1ef9fcc941aeb395c7b2b305e70ebb9a95f3 /core
parent691ed73910734be0bb854dc2d07ba9c0f90bca87 (diff)
downloadAntennaPod-2c3fb5610a98d80db25b85fdf0607bfc2b6216fc.zip
Do not reinit on pause (#6732)
The call to `reinit()` causes Android Auto to close the player view when pausing
Diffstat (limited to 'core')
-rw-r--r--core/src/main/java/de/danoeh/antennapod/core/service/playback/PlaybackService.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/main/java/de/danoeh/antennapod/core/service/playback/PlaybackService.java b/core/src/main/java/de/danoeh/antennapod/core/service/playback/PlaybackService.java
index 77ac2bccc..c41ec93b1 100644
--- a/core/src/main/java/de/danoeh/antennapod/core/service/playback/PlaybackService.java
+++ b/core/src/main/java/de/danoeh/antennapod/core/service/playback/PlaybackService.java
@@ -1774,7 +1774,7 @@ public class PlaybackService extends MediaBrowserServiceCompat {
public void onPause() {
Log.d(TAG, "onPause()");
if (getStatus() == PlayerStatus.PLAYING) {
- pause(!UserPreferences.isPersistNotify(), true);
+ pause(!UserPreferences.isPersistNotify(), false);
}
}