diff options
author | ByteHamster <info@bytehamster.com> | 2020-05-05 00:48:29 +0200 |
---|---|---|
committer | ByteHamster <info@bytehamster.com> | 2020-05-05 00:48:29 +0200 |
commit | 93e68233b4db496283033dbb5de0043ec8a6f780 (patch) | |
tree | 619be44dae1c48f2414d208fbe0ac3b53bc97220 /core/src/main/java | |
parent | b233f4dcb7273a5f39474c1d1cea3c017f5ba500 (diff) | |
download | AntennaPod-93e68233b4db496283033dbb5de0043ec8a6f780.zip |
Offer to switch to ExoPlayer on media player error
Diffstat (limited to 'core/src/main/java')
-rw-r--r-- | core/src/main/java/de/danoeh/antennapod/core/preferences/UserPreferences.java | 4 |
1 files changed, 4 insertions, 0 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 cb5a405c0..a42350b4a 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 @@ -809,6 +809,10 @@ public class UserPreferences { prefs.edit().putString(PREF_MEDIA_PLAYER, "sonic").apply(); } + public static void enableExoplayer() { + prefs.edit().putString(PREF_MEDIA_PLAYER, PREF_MEDIA_PLAYER_EXOPLAYER).apply(); + } + public static boolean stereoToMono() { return prefs.getBoolean(PREF_STEREO_TO_MONO, false); } |