Fix the CDMA issue that incorrectly send the conference status in CLCC response
Multiparty flag should not be set when calls are not really in conference.
To use CdmaPhoneCallState.PhoneCallState.CONF_CALL instead of SINGLE_ACTIVE
Bug: 2238628
Dr No: Eastham
diff --git a/src/com/android/phone/BluetoothHandsfree.java b/src/com/android/phone/BluetoothHandsfree.java
index 078766d..6b98c80 100644
--- a/src/com/android/phone/BluetoothHandsfree.java
+++ b/src/com/android/phone/BluetoothHandsfree.java
@@ -1402,10 +1402,10 @@
}
int mpty = 0;
- if (currCdmaCallState == CdmaPhoneCallState.PhoneCallState.SINGLE_ACTIVE) {
- mpty = 0;
- } else {
+ if (currCdmaCallState == CdmaPhoneCallState.PhoneCallState.CONF_CALL) {
mpty = 1;
+ } else {
+ mpty = 0;
}
int direction = c.isIncoming() ? 1 : 0;