diff options
author | mengsun <msun@codeaurora.org> | 2014-03-11 16:51:21 +0800 |
---|---|---|
committer | emancebo <emancebo@cyngn.com> | 2014-09-02 15:42:29 -0700 |
commit | 6ba781d4d17de1556ef2b388d06e3a4a8bb684e7 (patch) | |
tree | cf8be8b16f0ec417e6bda0f014a9e9765fd41565 | |
parent | 982412a8d0d7cc7899d9075bbb6fd2f0ba483af3 (diff) | |
download | packages_apps_InCallUI-6ba781d4d17de1556ef2b388d06e3a4a8bb684e7.tar.gz packages_apps_InCallUI-6ba781d4d17de1556ef2b388d06e3a4a8bb684e7.tar.bz2 packages_apps_InCallUI-6ba781d4d17de1556ef2b388d06e3a4a8bb684e7.zip |
Fix can not active the call in the other sub when one sub is calling
The active sub is changed to a incorrect sub on phone state changed
event which is earlier than incoming call event, so set the incoming
call sub as active sub again when incoming call event got.
CRs-Fixed: 625303
Conflicts:
src/com/android/incallui/CallList.java
Change-Id: Ibcbfc59f7d7f059d8fc04e0fd4f0c385152f9307
-rw-r--r-- | src/com/android/incallui/CallList.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/com/android/incallui/CallList.java b/src/com/android/incallui/CallList.java index 4ddc3c78..16a15af4 100644 --- a/src/com/android/incallui/CallList.java +++ b/src/com/android/incallui/CallList.java @@ -116,6 +116,8 @@ public class CallList { // will switch active sub to a wrong sub(which is not ringing) if (MSimTelephonyManager.getDefault().isMultiSimEnabled()) CallCommandClient.getInstance().setActiveSubscription(call.getSubscription()); + // will switch active sub to to a incorrect sub(which is not ringing) + CallCommandClient.getInstance().setActiveSubscription(call.getSubscription()); updateActiveSuscription(); updateCallInMap(call); |