diff options
author | Yorke Lee <yorkelee@google.com> | 2015-04-18 14:37:50 -0700 |
---|---|---|
committer | Yorke Lee <yorkelee@google.com> | 2015-04-23 20:00:48 -0700 |
commit | b82e8dae149a9f247e5c9fcae02ced460670b0e7 (patch) | |
tree | 48e5a357dbc6e38a69c18dd92cdfe966707f629b /src/com/android/dialer/DialtactsActivity.java | |
parent | f452a206a8ea194436e942bbf6f8e4a711d69c2b (diff) |
Use TelecomManager.placeCall API
Bug: 20348183
Change-Id: If1b193f933b4a7b2b322784b0cbbc66c210b25df
Diffstat (limited to 'src/com/android/dialer/DialtactsActivity.java')
-rw-r--r-- | src/com/android/dialer/DialtactsActivity.java | 6 |
1 files changed, 3 insertions, 3 deletions
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; } |