diff options
author | Roman Birg <roman@cyngn.com> | 2014-10-28 16:36:27 -0700 |
---|---|---|
committer | Roman Birg <roman@cyngn.com> | 2014-10-28 16:36:27 -0700 |
commit | 9e5bc664a92f3f1c2563dbde9205ab75327f5d93 (patch) | |
tree | 7ae737e723ffc94df66cc6838e324bd54a0d76d0 | |
parent | 89aa1b9feebe3cbfac18d0da75fd9578de2097ff (diff) | |
download | android_packages_apps_Dialer-9e5bc664a92f3f1c2563dbde9205ab75327f5d93.tar.gz android_packages_apps_Dialer-9e5bc664a92f3f1c2563dbde9205ab75327f5d93.tar.bz2 android_packages_apps_Dialer-9e5bc664a92f3f1c2563dbde9205ab75327f5d93.zip |
Dialer: do not assume which subscription to use in call detail header
This subscription is the last one used to make a call, and it is being
forwarded to the call intent. Let the receiver handle the logic of
picking which SIM (or whether to prompt) to use.
Change-Id: Ibed0b0b8faabb7ac20cc590a3dd327269b71b4f4
Signed-off-by: Roman Birg <roman@cyngn.com>
-rw-r--r-- | src/com/android/dialer/CallDetailHeader.java | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/com/android/dialer/CallDetailHeader.java b/src/com/android/dialer/CallDetailHeader.java index 9381b1d59..1247b6d10 100644 --- a/src/com/android/dialer/CallDetailHeader.java +++ b/src/com/android/dialer/CallDetailHeader.java @@ -338,10 +338,6 @@ public class CallDetailHeader { dataNumber, data.getNumberPresentation(), data.getFormattedNumber()); Intent intent = CallUtil.getCallIntent(mNumber); - if (mSubscription != -1) { - intent.putExtra(MSimConstants.SUBSCRIPTION_KEY, mSubscription); - Log.d(TAG, "Start the activity and the call log sub is: " + mSubscription); - } ViewEntry entry = new ViewEntry( mResources.getString(R.string.menu_callNumber, @@ -542,10 +538,6 @@ public class CallDetailHeader { if (tm.getCallState() == TelephonyManager.CALL_STATE_IDLE) { Intent intent = CallUtil.getCallIntent( Uri.fromParts(CallUtil.SCHEME_TEL, mNumber, null)); - if (mSubscription != -1) { - intent.putExtra(MSimConstants.SUBSCRIPTION_KEY, mSubscription); - Log.d(TAG, "Start the activity and the call log sub is: " + mSubscription); - } mActivity.startActivity(intent); return true; } |