diff options
author | Harshad Vedartham <harshad1@users.noreply.github.com> | 2023-11-01 07:56:28 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-01 15:56:28 +0100 |
commit | 2c3fb5610a98d80db25b85fdf0607bfc2b6216fc (patch) | |
tree | e3fb1ef9fcc941aeb395c7b2b305e70ebb9a95f3 /core | |
parent | 691ed73910734be0bb854dc2d07ba9c0f90bca87 (diff) | |
download | AntennaPod-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.java | 2 |
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); } } |