diff options
author | Yorke Lee <yorkelee@google.com> | 2015-09-11 12:14:12 -0700 |
---|---|---|
committer | Yorke Lee <yorkelee@google.com> | 2015-09-11 12:14:12 -0700 |
commit | 306324b84809a2b53beb55260eef071d2d33f6d0 (patch) | |
tree | 7aa732eadf2f44389b26386d33c48f8285cc53f4 /src/com/android/dialer/dialpad/DialpadFragment.java | |
parent | 49aa5bf33be8b96d6409168cddbb819bc7539fab (diff) |
Remove EXTRA_CALL_ORIGIN from Dialer
This is legacy code from the PhoneApp days and no longer
does anything.
The method signatures in IntentUtils were kept unchanged to
reduce code churn since they will be modified in a later CL.
Change-Id: I76bcdd9b1302eed701e3d1cb5027a937ab2234c4
Diffstat (limited to 'src/com/android/dialer/dialpad/DialpadFragment.java')
-rw-r--r-- | src/com/android/dialer/dialpad/DialpadFragment.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/com/android/dialer/dialpad/DialpadFragment.java b/src/com/android/dialer/dialpad/DialpadFragment.java index 0bbf802a4..c35bdea3c 100644 --- a/src/com/android/dialer/dialpad/DialpadFragment.java +++ b/src/com/android/dialer/dialpad/DialpadFragment.java @@ -1140,9 +1140,7 @@ public class DialpadFragment extends Fragment // Clear the digits just in case. clearDialpad(); } else { - final Intent intent = IntentUtil.getCallIntent(number, - (getActivity() instanceof DialtactsActivity ? - ((DialtactsActivity) getActivity()).getCallOrigin() : null)); + final Intent intent = IntentUtil.getCallIntent(number, (String) null); DialerUtils.startActivityWithErrorToast(getActivity(), intent); hideAndClearDialpad(false); } |