commit | 945625ef19dc47e8e8221495446605bdef977bc0 | [log] [tgz] |
---|---|---|
author | Vignesh Kulothungan <vigneshk@quicinc.com> | Mon Oct 16 18:26:52 2017 -0700 |
committer | Andy Hung <hunga@google.com> | Sat Oct 28 00:02:05 2017 +0000 |
tree | e1a664cf63971d622e222691d6bed5b33e1f8774 | |
parent | 66a65b64897d8dca1195a363518a406f84a254b9 [diff] |
audio-hal: Update voice 'in_call' flag When RIL sends CALL_INACTIVE, the corresponding voice session is closed and call_state is set to INACTIVE whereas the in_call flag is not reset. This causes any subsequent voice call usecase to be not setup as in_call flag is still set as true. Fix by checking resetting the in_call flag if no other voice session (in 'dual sim dual active' cases) is active. Bug: 66873748 Test: make Change-Id: I109b8badf5a76e68ba64d1c81ce507b62e9e9a5a