diff options
author | ByteHamster <info@bytehamster.com> | 2019-09-13 22:15:37 +0200 |
---|---|---|
committer | ByteHamster <info@bytehamster.com> | 2019-09-13 22:15:37 +0200 |
commit | 9ed3e54d9c2b8235e7331f17fc16b1a8309380df (patch) | |
tree | d6fc649dd601560885bbaa33b72b6e636c6c243d /app/src/main/java/de/danoeh/antennapod | |
parent | ada0101b0754cf4b34a1719f90f0b20571dab8db (diff) | |
download | AntennaPod-9ed3e54d9c2b8235e7331f17fc16b1a8309380df.zip |
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.java | 6 |
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); |