From b82e8dae149a9f247e5c9fcae02ced460670b0e7 Mon Sep 17 00:00:00 2001 From: Yorke Lee Date: Sat, 18 Apr 2015 14:37:50 -0700 Subject: Use TelecomManager.placeCall API Bug: 20348183 Change-Id: If1b193f933b4a7b2b322784b0cbbc66c210b25df --- src/com/android/dialer/DialtactsActivity.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/com/android/dialer/DialtactsActivity.java') diff --git a/src/com/android/dialer/DialtactsActivity.java b/src/com/android/dialer/DialtactsActivity.java index 787b6fae4..2bda09184 100644 --- a/src/com/android/dialer/DialtactsActivity.java +++ b/src/com/android/dialer/DialtactsActivity.java @@ -82,7 +82,7 @@ import com.android.dialer.list.SearchFragment; import com.android.dialer.list.SmartDialSearchFragment; import com.android.dialer.list.SpeedDialFragment; import com.android.dialer.settings.DialerSettingsActivity; -import com.android.dialer.util.PrivilegedCallUtil; +import com.android.dialer.util.CallIntentUtil; import com.android.dialer.util.DialerUtils; import com.android.dialer.widget.ActionBarController; import com.android.dialer.widget.SearchEditTextLayout; @@ -1158,8 +1158,8 @@ public class DialtactsActivity extends TransactionSafeActivity implements View.O @Override public void onCallNumberDirectly(String phoneNumber, boolean isVideoCall) { Intent intent = isVideoCall ? - PrivilegedCallUtil.getVideoCallIntent(phoneNumber, getCallOrigin()) : - PrivilegedCallUtil.getCallIntent(phoneNumber, getCallOrigin()); + CallIntentUtil.getVideoCallIntent(phoneNumber, getCallOrigin()) : + CallIntentUtil.getCallIntent(phoneNumber, getCallOrigin()); DialerUtils.startActivityWithErrorToast(this, intent); mClearSearchOnPause = true; } -- cgit v1.2.3