Home
last modified time | relevance | path

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

/packages/apps/Contacts/src/com/android/contacts/editor/
DEditorUiUtils.java205 public static String getRingtoneStringFromUri(Uri pickedUri, int currentVersion) { in getRingtoneStringFromUri() argument
207 if (pickedUri == null) return ""; // silent ringtone in getRingtoneStringFromUri()
208 if (RingtoneManager.isDefault(pickedUri)) return null; // default ringtone in getRingtoneStringFromUri()
210 if (pickedUri == null || RingtoneManager.isDefault(pickedUri)) return null; in getRingtoneStringFromUri()
211 return pickedUri.toString(); in getRingtoneStringFromUri()
/packages/apps/Messaging/src/com/android/messaging/ui/conversationsettings/
DPeopleAndOptionsFragment.java98 final String pickedUri = pick == null ? "" : pick.toString(); in onActivityResult() local
99 mBinding.getData().setConversationNotificationSound(mBinding, pickedUri); in onActivityResult()
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DQuickContactActivity.java786 final Uri pickedUri = data.getParcelableExtra( in onActivityResult() local
788 onRingtonePicked(pickedUri); in onActivityResult()
792 private void onRingtonePicked(Uri pickedUri) { in onRingtonePicked() argument
793 mCustomRingtone = EditorUiUtils.getRingtoneStringFromUri(pickedUri, CURRENT_API_VERSION); in onRingtonePicked()