Searched refs:pickedUri (Results 1 – 3 of 3) sorted by relevance
205 public static String getRingtoneStringFromUri(Uri pickedUri, int currentVersion) { in getRingtoneStringFromUri() argument207 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()
98 final String pickedUri = pick == null ? "" : pick.toString(); in onActivityResult() local99 mBinding.getData().setConversationNotificationSound(mBinding, pickedUri); in onActivityResult()
786 final Uri pickedUri = data.getParcelableExtra( in onActivityResult() local788 onRingtonePicked(pickedUri); in onActivityResult()792 private void onRingtonePicked(Uri pickedUri) { in onRingtonePicked() argument793 mCustomRingtone = EditorUiUtils.getRingtoneStringFromUri(pickedUri, CURRENT_API_VERSION); in onRingtonePicked()