commit | 61b9c2eec6cc35bea68d2d4ed8f4615deb9c91b6 | [log] [tgz] |
---|---|---|
author | kunleiz <kunleiz@codeaurora.org> | Wed Nov 01 13:47:23 2017 +0800 |
committer | kunleiz <kunleiz@codeaurora.org> | Fri Nov 03 15:19:45 2017 +0800 |
tree | 59fe44be50918744afc345e2a603797544ee57d2 | |
parent | c4efbf0af65dcc12656b9e2e03744a8004f4bcac [diff] |
hal: Use call state to ensure voice call start When RIL goes from CALL_ACTIVE to CALL_INACTIVE, voice session would be closed. And call_state is set to INACTIVE whereas in_call flag is not reset. This would cause any subsequent voice call usecase cannot set up as in_call flag already is true. Fix by checking current call state instead of in_call flag to start voice call. CRs-Fixed: 2130335 Change-Id: Ib449b2ba71b1e998d51df8ae5d2348f651b08751