commit | ee99e09fb328f08d017cd848f0966ee701d3d74b | [log] [tgz] |
---|---|---|
author | Hall Liu <hallliu@google.com> | Fri Dec 07 17:58:30 2018 -0800 |
committer | Hall Liu <hallliu@google.com> | Fri Dec 07 17:58:30 2018 -0800 |
tree | 8142873cd30a1d4276847d4c597cc8c9d8f7f3fd | |
parent | a2e4a7f17d6bdc643b27173a1747ad75857f8eb6 [diff] |
Fix BT call state issue CallAudioManager sets the BT end-of-call tone flag to true after it calls startTone at the end of a call, no matter whether the call actually started or not. This causes our call reports to the BT stack to perpetually be in the disconnecting stack, which apparently is bad. Fix this so that we only set the flag if the tone actually plays. Test: unit, manual Change-Id: I72058667ee6d722fbe5bf87f036a95220cf0a34f Fixes: 120477414