From 65f727c4404802d8dad0c54b0b348224c30c386c Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Wed, 25 Nov 2015 22:18:13 +0100 Subject: [PATCH] hfp: transfer call/callheld status when second calls gets accepted by AG --- src/hfp_ag.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/hfp_ag.c b/src/hfp_ag.c index 0c2ce6295..d3436d95f 100644 --- a/src/hfp_ag.c +++ b/src/hfp_ag.c @@ -1033,10 +1033,8 @@ static void hfp_ag_call_sm(hfp_ag_call_event_t event, hfp_connection_t * connect printf("AG: current call is placed on hold, incoming call gets active\n"); hfp_ag_set_callsetup_state(HFP_CALLSETUP_STATUS_NO_CALL_SETUP_IN_PROGRESS); hfp_ag_set_callheld_state(HFP_CALLHELD_STATUS_CALL_ON_HOLD_OR_SWAPPED); - // TODO: update AG indicators for all connections - // context->ag_indicators_status_update_bitmap = store_bit(context->ag_indicators_status_update_bitmap, callsetup_indicator_index, 1); - // context->ag_indicators_status_update_bitmap = store_bit(context->ag_indicators_status_update_bitmap, callheld_indicator_index, 1); - // context->call_state = HFP_CALL_ACTIVE; + hfp_ag_transfer_callsetup_state(); + hfp_ag_transfer_callheld_state(); break; default: break;