Fixed build

This commit is contained in:
ByteHamster 2018-05-26 23:49:47 +02:00
parent 532d822b3c
commit 920f061385
1 changed files with 1 additions and 1 deletions

View File

@ -887,7 +887,7 @@ public class PreferenceController implements SharedPreferences.OnSharedPreferenc
private void checkSonicItemVisibility() {
if (Build.VERSION.SDK_INT < 16) {
MaterialListPreference p = ((MaterialListPreference) ui.findPreference(UserPreferences.PREF_MEDIA_PLAYER));
ListPreference p = (ListPreference) ui.findPreference(UserPreferences.PREF_MEDIA_PLAYER);
p.setEntries(R.array.media_player_options_no_sonic);
p.setEntryValues(R.array.media_player_values_no_sonic);
}