Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 79e027d8 authored by Gurpreet Ghai's avatar Gurpreet Ghai Committed by Bruno Martins
Browse files

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
parent 8f244881
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment