Home
last modified time | relevance | path

Searched refs:ringtoneString (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Messaging/src/com/android/messaging/util/
DRingtoneUtil.java33 public static Uri getNotificationRingtoneUri(String ringtoneString) { in getNotificationRingtoneUri() argument
34 if (ringtoneString == null) { in getNotificationRingtoneUri()
39 ringtoneString = prefs.getString(prefKey, null); in getNotificationRingtoneUri()
42 if (!TextUtils.isEmpty(ringtoneString)) { in getNotificationRingtoneUri()
44 return Uri.parse(ringtoneString); in getNotificationRingtoneUri()
45 } else if (ringtoneString == null) { in getNotificationRingtoneUri()
/packages/apps/Messaging/src/com/android/messaging/ui/appsettings/
DApplicationSettingsActivity.java164 String ringtoneString = sharedPreferences.getString(mRingtonePreferenceKey, null); in updateSoundSummary() local
168 if (ringtoneString == null) { in updateSoundSummary()
169 ringtoneString = Settings.System.DEFAULT_NOTIFICATION_URI.toString(); in updateSoundSummary()
171 editor.putString(mRingtonePreferenceKey, ringtoneString); in updateSoundSummary()
175 if (!TextUtils.isEmpty(ringtoneString)) { in updateSoundSummary()
176 final Uri ringtoneUri = Uri.parse(ringtoneString); in updateSoundSummary()
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
DPeopleOptionsItemData.java90 final String ringtoneString = cursor.getString(INDEX_NOTIFICATION_SOUND_URI); in bind() local
91 Uri ringtoneUri = RingtoneUtil.getNotificationRingtoneUri(ringtoneString); in bind()