diff options
author | Eric Laurent <elaurent@google.com> | 2017-04-27 18:31:22 -0700 |
---|---|---|
committer | Eric Laurent <elaurent@google.com> | 2017-04-28 09:32:12 -0700 |
commit | 5205a35f7805aec1285e1a17a8e6dcb0e49f7e33 (patch) | |
tree | 4f091231fd2faec1fd95e0e54252cab065592207 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 2d5c0d89e5315f6e84b2d8499828235e0b0291f3 (diff) |
AudioService: fix missing AUDIO_BECOMING_NOISY intent
If Bluetooth service calls onBluetoothA2dpDeviceConfigChange() before
setBluetoothA2dpDeviceConnectionState(), there is a chance that the
first method fails leaving the A2DP device state disconnected in audio
policy manager while it appears as connected in AudioService causing a
failure to send the AUDIO_BECOMING_NOISY intent.
Bug: 37687852
Test: Verify AUDIO_BECOMING_NOISY intent is sent even if race
condition occurs.
Change-Id: I014d145e7da5e7d267991ffb2ff50626e71247eb
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions