diff options
author | ByteHamster <ByteHamster@users.noreply.github.com> | 2021-10-31 21:18:21 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-31 21:18:21 +0100 |
commit | 61a140a51019bb8f987c27a21a8d7be4422a4e72 (patch) | |
tree | 832ed229036a354c93135a6f5af9f17e3e903c5c /core/src | |
parent | b6b7a7e01bf88586aca18ae69c67fb0b298ae361 (diff) | |
parent | b1a72189f37c5f7e4de41ef36d7dc0481ba9f62a (diff) | |
download | AntennaPod-61a140a51019bb8f987c27a21a8d7be4422a4e72.zip |
Merge pull request #5514 from ByteHamster/pause-interruptions
Pause on focus loss by default
Diffstat (limited to 'core/src')
-rw-r--r-- | core/src/main/java/de/danoeh/antennapod/core/preferences/UserPreferences.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/main/java/de/danoeh/antennapod/core/preferences/UserPreferences.java b/core/src/main/java/de/danoeh/antennapod/core/preferences/UserPreferences.java index 9bfad9959..c61dafd1b 100644 --- a/core/src/main/java/de/danoeh/antennapod/core/preferences/UserPreferences.java +++ b/core/src/main/java/de/danoeh/antennapod/core/preferences/UserPreferences.java @@ -85,7 +85,7 @@ public class UserPreferences { private static final String PREF_AUTO_DELETE = "prefAutoDelete"; public static final String PREF_SMART_MARK_AS_PLAYED_SECS = "prefSmartMarkAsPlayedSecs"; private static final String PREF_PLAYBACK_SPEED_ARRAY = "prefPlaybackSpeedArray"; - private static final String PREF_PAUSE_PLAYBACK_FOR_FOCUS_LOSS = "prefPauseForFocusLoss"; + public static final String PREF_PAUSE_PLAYBACK_FOR_FOCUS_LOSS = "prefPauseForFocusLoss"; private static final String PREF_RESUME_AFTER_CALL = "prefResumeAfterCall"; public static final String PREF_VIDEO_BEHAVIOR = "prefVideoBehavior"; private static final String PREF_TIME_RESPECTS_SPEED = "prefPlaybackTimeRespectsSpeed"; @@ -467,7 +467,7 @@ public class UserPreferences { } public static boolean shouldPauseForFocusLoss() { - return prefs.getBoolean(PREF_PAUSE_PLAYBACK_FOR_FOCUS_LOSS, false); + return prefs.getBoolean(PREF_PAUSE_PLAYBACK_FOR_FOCUS_LOSS, true); } |