Commit: ca4364f488bbe0f4c739a5195541908f00ebe673
Parent: ac2ae7f897f0b0be32ce959f90974395c29665a3
Author: Mariusz Skamra <mariusz.skamra@tieto.com>
Committer: Szymon Janc <szymon.janc@tieto.com>
Date: 2015-02-20 17:25:10
Tree: 7829b7f36a12998cc42d2de5bab916ca15cd8319

android/handsfree: Fix not sending proper call hold status This patch fixes not sending callheld=1 +CIEV to HF in Lollipop after accepting waiting call and placing active call on hold. On KitKat phone_state_change calls looks as follows: state=4 active=1 held=0 <= we have another connection state=6 active=1 held=1 <= swapped connections On Lollipop there is additional bogus state: state=4 active=1 held=0 state=4 active=0 held=1 <= hold current call state=6 active=1 held=1 so the "if (num_held > dev->num_held)" condition is no longer applicable. Fixed TC: TC_AG_ECS_BV_03_I, TC_AG_TWC_BV_03_I, TC_AG_TWC_BV_04_I

Diffstat

M android/handsfree.c | 5 ++++-

1 files changed, 4 insertions(+), 1 deletions(-)

View Full Diff | Patch