diff options
author | Eric Laurent <elaurent@google.com> | 2017-12-15 16:54:35 -0800 |
---|---|---|
committer | Eric Laurent <elaurent@google.com> | 2017-12-15 16:54:35 -0800 |
commit | da1af765bb4fb5528acfeb6327ac5d2a45c7c07d (patch) | |
tree | 6e8247802db5990824dfb9d1847f11706d901121 /tools/aapt2/java/JavaClassGenerator.h | |
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.h')
0 files changed, 0 insertions, 0 deletions