summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSzymon Janc <szymon.janc@tieto.com>2014-03-25 20:45:02 +0100
committerSzymon Janc <szymon.janc@tieto.com>2014-03-25 20:49:38 +0100
commitb03a345ef36fedebe27137cb292763012e801942 (patch)
treedf264993e6c37c16a910faa4b3a5778a9e70a098
parent8160c3fb27060db57057d4d2b98942f2843269b3 (diff)
downloadbluez-b03a345ef36fedebe27137cb292763012e801942.tar.gz
android/handsfree: Fix not sending callheld update
This fix not sending callheld indicator update in three way calling scenario with call placed from HF. This was affecting TC_AG_TWC_BV_05_I qualification test case.
-rw-r--r--android/handsfree.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/android/handsfree.c b/android/handsfree.c
index fce258984..7dfc6dc69 100644
--- a/android/handsfree.c
+++ b/android/handsfree.c
@@ -2088,6 +2088,9 @@ static void phone_state_idle(int num_active, int num_held)
if (num_active > device.num_active)
update_indicator(IND_CALL, 1);
+ update_indicator(IND_CALLHELD,
+ num_held ? (num_active ? 1 : 2) : 0);
+
update_indicator(IND_CALLSETUP, 0);
break;
case HAL_HANDSFREE_CALL_STATE_IDLE: