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

Commit ea143736 authored by Christine Franks's avatar Christine Franks
Browse files

[DO NOT MERGE] Update title for null uri when setting changes

Currently, the title will not update at all if set to silent.

Bug: 130445562
Test: make RunSettingsRoboTests -j48
Change-Id: Id8fc0182adb37c05436f5924b7dcdffb9d994e0d
parent 4685c785
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -55,7 +55,7 @@ public abstract class RingtonePreferenceControllerBase extends AbstractPreferenc

        final CharSequence summary;
        if (ringtoneUri == null) {
            summary = null;
            summary = mContext.getString(com.android.internal.R.string.ringtone_silent);
        } else {
            summary = Ringtone.getTitle(
                    mContext, ringtoneUri, false /* followSettingsUri */, true /* allowRemote */);