commit | da1af765bb4fb5528acfeb6327ac5d2a45c7c07d | [log] [tgz] |
---|---|---|
author | Eric Laurent <elaurent@google.com> | Fri Dec 15 16:54:35 2017 -0800 |
committer | Eric Laurent <elaurent@google.com> | Fri Dec 15 16:54:35 2017 -0800 |
tree | 6e8247802db5990824dfb9d1847f11706d901121 | |
parent | 7d6688f35e37a96579db8ae2342eda3239a92c3c [diff] |
AudioService: fix isInCommunication() Consider we are in call also when audio mode is MODE_IN_CALL. This removes race conditions occuring when there is a delay between audio mode being set to MODE_IN_CALL and the actual call state updated in TelecomManager. Bug: 70690373 Test: test DTMF level at various call volume on earpiece, speaker, USB headset Change-Id: I5e905a36e825211b6d780a285fc7b47cea3edf2b