summaryrefslogtreecommitdiff
path: root/app/src/main/java/de/danoeh/antennapod
diff options
context:
space:
mode:
authorH. Lehmann <ByteHamster@users.noreply.github.com>2019-09-13 22:25:04 +0200
committerGitHub <noreply@github.com>2019-09-13 22:25:04 +0200
commit02a86b2dd21b31c4645751954c6ed8aed2afec08 (patch)
tree6759d03712dc824373fa2549a2ca7583f0d87e0b /app/src/main/java/de/danoeh/antennapod
parent1fe451b9bbed083898fbd3e7db3ba4d47c13f3ca (diff)
parent9ed3e54d9c2b8235e7331f17fc16b1a8309380df (diff)
downloadAntennaPod-02a86b2dd21b31c4645751954c6ed8aed2afec08.zip
Merge pull request #3420 from ByteHamster/media-player-default
Ensure that ExoPlayer is set
Diffstat (limited to 'app/src/main/java/de/danoeh/antennapod')
-rw-r--r--app/src/main/java/de/danoeh/antennapod/preferences/PreferenceUpgrader.java6
1 files changed, 2 insertions, 4 deletions
diff --git a/app/src/main/java/de/danoeh/antennapod/preferences/PreferenceUpgrader.java b/app/src/main/java/de/danoeh/antennapod/preferences/PreferenceUpgrader.java
index 4d6fbcb7b..1879dcbf8 100644
--- a/app/src/main/java/de/danoeh/antennapod/preferences/PreferenceUpgrader.java
+++ b/app/src/main/java/de/danoeh/antennapod/preferences/PreferenceUpgrader.java
@@ -42,10 +42,8 @@ public class PreferenceUpgrader {
}
}
if (oldVersion < 1070300) {
- if (UserPreferences.getMediaPlayer().equals("builtin")) {
- prefs.edit().putString(UserPreferences.PREF_MEDIA_PLAYER,
- UserPreferences.PREF_MEDIA_PLAYER_EXOPLAYER).apply();
- }
+ prefs.edit().putString(UserPreferences.PREF_MEDIA_PLAYER,
+ UserPreferences.PREF_MEDIA_PLAYER_EXOPLAYER).apply();
if (prefs.getBoolean("prefEnableAutoDownloadOnMobile", false)) {
UserPreferences.setAllowMobileAutoDownload(true);