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/CallDetailActivity.java | |
parent | f452a206a8ea194436e942bbf6f8e4a711d69c2b (diff) |
Use TelecomManager.placeCall API
Bug: 20348183
Change-Id: If1b193f933b4a7b2b322784b0cbbc66c210b25df
Diffstat (limited to 'src/com/android/dialer/CallDetailActivity.java')
-rw-r--r-- | src/com/android/dialer/CallDetailActivity.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/dialer/CallDetailActivity.java b/src/com/android/dialer/CallDetailActivity.java index 5dae9d07d..dbcfa64af 100644 --- a/src/com/android/dialer/CallDetailActivity.java +++ b/src/com/android/dialer/CallDetailActivity.java @@ -63,7 +63,7 @@ import com.android.dialer.calllog.PhoneNumberDisplayHelper; import com.android.dialer.calllog.PhoneNumberUtilsWrapper; import com.android.dialer.util.AsyncTaskExecutor; import com.android.dialer.util.AsyncTaskExecutors; -import com.android.dialer.util.PrivilegedCallUtil; +import com.android.dialer.util.CallIntentUtil; import com.android.dialer.util.DialerUtils; import com.android.dialer.voicemail.VoicemailPlaybackFragment; import com.android.dialer.voicemail.VoicemailStatusHelper; @@ -317,7 +317,7 @@ public class CallDetailActivity extends Activity implements ProximitySensorAware getSystemService(Context.TELEPHONY_SERVICE); if (tm.getCallState() == TelephonyManager.CALL_STATE_IDLE) { DialerUtils.startActivityWithErrorToast(this, - PrivilegedCallUtil.getCallIntent(Uri.fromParts(PhoneAccount.SCHEME_TEL, + CallIntentUtil.getCallIntent(Uri.fromParts(PhoneAccount.SCHEME_TEL, mNumber, null)), R.string.call_not_available); return true; } |