Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9c48c7f3 authored by Danesh M's avatar Danesh M
Browse files

Settings : Don't show ringtone pref for non voice capable devices

issue-id: CYNGNOS-904

Change-Id: I49845fd50da33a5ba4bea743ea82a2c5f3aa87f8
(cherry picked from commit 3b472722)
parent a9ee7b66
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -305,7 +305,7 @@ public class SoundSettings extends SettingsPreferenceFragment implements Indexab
    private void initRingtones(PreferenceCategory root) {
        DefaultRingtonePreference phoneRingtonePreference =
                (DefaultRingtonePreference) root.findPreference(KEY_PHONE_RINGTONE);
        if (mPhoneRingtonePreferences != null && !mVoiceCapable) {
        if (phoneRingtonePreference != null && !mVoiceCapable) {
            root.removePreference(phoneRingtonePreference);
            mPhoneRingtonePreferences = null;
        } else {