diff options
author | Gurpreet Ghai <gghai@codeaurora.org> | 2020-01-30 11:32:32 +0530 |
---|---|---|
committer | Gurpreet Ghai <gghai@codeaurora.org> | 2020-02-05 12:42:51 +0000 |
commit | b92a49ebf0d2784f54f7d94199ea3a4999513065 (patch) | |
tree | a061260b3372112c527750ef6149710e116ce25d /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 4652e8a10663adb280e41e059156a15c162f5ae5 (diff) |
BT_Audio: Updated Check for TWS+ switch
- Race condition between disconnection of first earbud and
connection of second earbud, the configuration of second
earbud is ignored because it is considered a case of TWS
switch.
- Since MM Audio removes the disconnected device from list
after delay of ~600ms, this creates a window where a new
connection goes unprocessed when it happens immediately
after disconnection.
- This change fetches real time connection state from A2DP
to overcome the race condition.
CRs-Fixed: 2606382
Change-Id: I2df8447acb1d8e1b843a49906f2f3e3993cce5d6
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions