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

Skip to content
Commit 69da23a8 authored by Hsin-chen Chuang's avatar Hsin-chen Chuang
Browse files

floss: btmanagerd: Defer present event for enabled-by-config device

If btmanagerd is going to enable a newly present device, defer the event
until (1) btadapterd started or (2) start action timeout-ed.

With this mechanism the Floss clients won't receive the unexpected state
change after the present event.

Bug: 270447662
Tag: #floss
Test: mmm packages/modules/Bluetooth
Test: reboot the DUT, verify through the log
Test: Disable BT at login screen, log in, enable BT, then reboot
      -> BT is disabled as expected. (Tested with Chrome CLs)

Change-Id: Id03d7bb0386e0d6d882b6bfb24b2bb272ac57f4a
parent 220708d9
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