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/dialpad/DialpadFragment.java | |
parent | f452a206a8ea194436e942bbf6f8e4a711d69c2b (diff) |
Use TelecomManager.placeCall API
Bug: 20348183
Change-Id: If1b193f933b4a7b2b322784b0cbbc66c210b25df
Diffstat (limited to 'src/com/android/dialer/dialpad/DialpadFragment.java')
-rw-r--r-- | src/com/android/dialer/dialpad/DialpadFragment.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/com/android/dialer/dialpad/DialpadFragment.java b/src/com/android/dialer/dialpad/DialpadFragment.java index f18903b93..d8b507eaa 100644 --- a/src/com/android/dialer/dialpad/DialpadFragment.java +++ b/src/com/android/dialer/dialpad/DialpadFragment.java @@ -78,7 +78,7 @@ import com.android.dialer.NeededForReflection; import com.android.dialer.R; import com.android.dialer.SpecialCharSequenceMgr; import com.android.dialer.calllog.PhoneAccountUtils; -import com.android.dialer.util.PrivilegedCallUtil; +import com.android.dialer.util.CallIntentUtil; import com.android.dialer.util.DialerUtils; import com.android.phone.common.CallLogAsync; import com.android.phone.common.HapticFeedback; @@ -1001,7 +1001,7 @@ public class DialpadFragment extends Fragment } public void callVoicemail() { - DialerUtils.startActivityWithErrorToast(getActivity(), PrivilegedCallUtil + DialerUtils.startActivityWithErrorToast(getActivity(), CallIntentUtil .getVoicemailIntent()); hideAndClearDialpad(false); } @@ -1098,7 +1098,7 @@ public class DialpadFragment extends Fragment // Clear the digits just in case. clearDialpad(); } else { - final Intent intent = PrivilegedCallUtil.getCallIntent(number, + final Intent intent = CallIntentUtil.getCallIntent(number, (getActivity() instanceof DialtactsActivity ? ((DialtactsActivity) getActivity()).getCallOrigin() : null)); DialerUtils.startActivityWithErrorToast(getActivity(), intent); @@ -1616,7 +1616,7 @@ public class DialpadFragment extends Fragment } private Intent newFlashIntent() { - final Intent intent = PrivilegedCallUtil.getCallIntent(EMPTY_NUMBER); + final Intent intent = CallIntentUtil.getCallIntent(EMPTY_NUMBER); intent.putExtra(EXTRA_SEND_EMPTY_FLASH, true); return intent; } |