Ensure that ExoPlayer is set

This commit is contained in:
ByteHamster 2019-09-13 22:15:37 +02:00
parent ada0101b07
commit 9ed3e54d9c
1 changed files with 2 additions and 4 deletions

View File

@ -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);