From b03a345ef36fedebe27137cb292763012e801942 Mon Sep 17 00:00:00 2001 From: Szymon Janc Date: Tue, 25 Mar 2014 20:45:02 +0100 Subject: [PATCH] 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. --- android/handsfree.c | 3 +++ 1 file changed, 3 insertions(+) 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: