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

Skip to content
Commit 26e20aed authored by Pavlin Radoslavov's avatar Pavlin Radoslavov
Browse files

Newly connected A2DP/HFP device will become the Active device

* Now all the logic for selecting the A2DP/HFP Active device
  is handled by the ActiveDeviceManager
* Changed the semantics of selecting the A2DP/HFP Active device:
  The newly connected A2DP/HFP device will become the Active device
* Updated the description in ActiveDeviceManager to describe the
  latest logic
* Removed old code for MESSAGE_SELECT_ACTICE_DEVICE_TIMEOUT that
  is not needed / relevant anymore.
* Updated HeadsetService, so it doesn't choose proactively
  the first connected HFP device as the Active device - now this
  is done by the ActiveDeviceManager.
  Also, updated the corresponding unit tests that were assuming
  the first connected device automatically becomes the
  Headset Active device.

Bug: 77191556
Test: Manual - connect multiple Headsets
Change-Id: I9e8c6a3493d15d710cdeb6e56c76f3dfb4abca61
parent e5d04374
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment