Fix "Silent" summary for ringtone preference

fixes #3962
Closes #4441

//FREEBIE
This commit is contained in:
agrajaghh
2015-11-07 18:56:32 +01:00
committed by Moxie Marlinspike
parent a65ade5366
commit 6a99c6c4ac
2 changed files with 2 additions and 1 deletions

View File

@@ -59,7 +59,7 @@ public class NotificationsPreferenceFragment extends ListSummaryPreferenceFragme
String value = (String) newValue;
if (TextUtils.isEmpty(value)) {
preference.setSummary(R.string.preferences__default);
preference.setSummary(R.string.preferences__silent);
} else {
Ringtone tone = RingtoneManager.getRingtone(getActivity(), Uri.parse(value));
if (tone != null) {