From c2ea695927a5866cea732ea784a8ee4473b8ba19 Mon Sep 17 00:00:00 2001 From: twyen Date: Mon, 6 Nov 2017 16:56:11 -0800 Subject: Unify voicemail call placing All voicemails are called by using CallIntentBuilder.forVoicemail() so the PhoneAccountHandle can be designated. A future CL will use dialogs to customize the call (multi SIM selection, RTT, etc.) As a result voicemail error messages and legacy voicemail notifications will call the account it is received from directly. Bug: 64216442 Test: Unit tests PiperOrigin-RevId: 174784322 Change-Id: Ibe1c57bc7852e3d55a39a0cc2da19b6a79954c0f --- java/com/android/dialer/util/CallUtil.java | 5 ----- 1 file changed, 5 deletions(-) (limited to 'java/com/android/dialer/util') diff --git a/java/com/android/dialer/util/CallUtil.java b/java/com/android/dialer/util/CallUtil.java index 0afe930c9..22cab87cc 100644 --- a/java/com/android/dialer/util/CallUtil.java +++ b/java/com/android/dialer/util/CallUtil.java @@ -52,11 +52,6 @@ public class CallUtil { return Uri.fromParts(PhoneAccount.SCHEME_TEL, number, null); } - /** @return Uri that directly dials a user's voicemail inbox. */ - public static Uri getVoicemailUri() { - return Uri.fromParts(PhoneAccount.SCHEME_VOICEMAIL, "", null); - } - /** * Determines if video calling is available, and if so whether presence checking is available as * well. -- cgit v1.2.3