Searched refs:pickedUri (Results 1 – 3 of 3) sorted by relevance
209 public static String getRingtoneStringFromUri(Uri pickedUri, int currentVersion) { in getRingtoneStringFromUri() argument211 if (pickedUri == null) return ""; // silent ringtone in getRingtoneStringFromUri()212 if (RingtoneManager.isDefault(pickedUri)) return null; // default ringtone in getRingtoneStringFromUri()214 if (pickedUri == null || RingtoneManager.isDefault(pickedUri)) return null; in getRingtoneStringFromUri()215 return pickedUri.toString(); in getRingtoneStringFromUri()
98 final String pickedUri = pick == null ? "" : pick.toString(); in onActivityResult() local99 mBinding.getData().setConversationNotificationSound(mBinding, pickedUri); in onActivityResult()
787 final Uri pickedUri = data.getParcelableExtra( in onActivityResult() local789 onRingtonePicked(pickedUri); in onActivityResult()793 private void onRingtonePicked(Uri pickedUri) { in onRingtonePicked() argument794 mCustomRingtone = EditorUiUtils.getRingtoneStringFromUri(pickedUri, CURRENT_API_VERSION); in onRingtonePicked()