summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorEric Laurent <elaurent@google.com>2018-06-13 19:36:42 -0700
committerandroid-build-team Robot <android-build-team-robot@google.com>2018-06-18 23:34:12 +0000
commitdb0da5637abb701eb290e41a369b5b696a94f225 (patch)
tree9185761d0a1f0ef385583ec8558b9982a4d72d95 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent0f6254b0ebb7a6502b8f51c12cc89f36f3fb148d (diff)
audioservice: fix a2dp connection race condition
In case of fast (< 1 second) A2DP disconnect/connect sequence, there is a potential race condition where the delayed disconnection message (due to becoming noisy intent) is received after the not delayed connection message. - Make sure all messages related to device connection/disconnection (including MSG_A2DP_DEVICE_CONFIG_CHANGE and MSG_BTA2DP_DOCK_TIMEOUT) are handled by queueMsgUnderWakeLock(). - Make sure messages are processed in the same order as API calls. - Add check for null address in makeA2dpDeviceUnavailableNow(). Bug: 109903807 Bug: 78837311 Test: repro steps in bugs. A2DP connection and playback Change-Id: Ib81b3805f945f7206b1a60de74e9bbeeef89bdd0 (cherry picked from commit 3c4636c7127cd34728050d051ef3bd62829e877d)
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions