summaryrefslogtreecommitdiffstats
path: root/src/com/android/dialer/interactions
diff options
context:
space:
mode:
authorYorke Lee <yorkelee@google.com>2015-04-18 14:37:50 -0700
committerYorke Lee <yorkelee@google.com>2015-04-23 20:00:48 -0700
commitb82e8dae149a9f247e5c9fcae02ced460670b0e7 (patch)
tree48e5a357dbc6e38a69c18dd92cdfe966707f629b /src/com/android/dialer/interactions
parentf452a206a8ea194436e942bbf6f8e4a711d69c2b (diff)
downloadandroid_packages_apps_Dialer-b82e8dae149a9f247e5c9fcae02ced460670b0e7.tar.gz
android_packages_apps_Dialer-b82e8dae149a9f247e5c9fcae02ced460670b0e7.tar.bz2
android_packages_apps_Dialer-b82e8dae149a9f247e5c9fcae02ced460670b0e7.zip
Use TelecomManager.placeCall API
Bug: 20348183 Change-Id: If1b193f933b4a7b2b322784b0cbbc66c210b25df
Diffstat (limited to 'src/com/android/dialer/interactions')
-rw-r--r--src/com/android/dialer/interactions/PhoneNumberInteraction.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/dialer/interactions/PhoneNumberInteraction.java b/src/com/android/dialer/interactions/PhoneNumberInteraction.java
index 78c468bbc..8d6de7162 100644
--- a/src/com/android/dialer/interactions/PhoneNumberInteraction.java
+++ b/src/com/android/dialer/interactions/PhoneNumberInteraction.java
@@ -52,7 +52,7 @@ import com.android.contacts.common.activity.TransactionSafeActivity;
import com.android.contacts.common.util.ContactDisplayUtils;
import com.android.dialer.R;
import com.android.dialer.contact.ContactUpdateService;
-import com.android.dialer.util.PrivilegedCallUtil;
+import com.android.dialer.util.CallIntentUtil;
import com.android.dialer.util.DialerUtils;
import com.google.common.annotations.VisibleForTesting;
@@ -322,7 +322,7 @@ public class PhoneNumberInteraction implements OnLoadCompleteListener<Cursor> {
Intent.ACTION_SENDTO, Uri.fromParts("sms", phoneNumber, null));
break;
default:
- intent = PrivilegedCallUtil.getCallIntent(phoneNumber, callOrigin);
+ intent = CallIntentUtil.getCallIntent(phoneNumber, callOrigin);
break;
}
DialerUtils.startActivityWithErrorToast(context, intent);