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

Skip to content
Commit 9475247b authored by Abhishek Pandit-Subedi's avatar Abhishek Pandit-Subedi Committed by Sonny Sasaka
Browse files

floss: Refactor client for proper adapter mgmt

The adapter dbus proxy should only be created after the adapter is
enabled. This refactors the code to create the proxy object on the
OnHciEnabled callback.

As part of the refactor, a deadlock was discovered when trying to call
dbus apis from the callback. Thus, we added a new ForegroundActions
message loop so that we can trigger actions from callbacks.

Bug: 199213563
Tag: #floss
Test: Run btclient on chromeos
Change-Id: Ia7ca8af72cbed20474d8592d13e98b24dd6ce98b
parent 67ab63c6
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