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

Skip to content
Commit 292bc3c6 authored by Myles Watson's avatar Myles Watson
Browse files

AdapterState: Simplify state transitions

- Split PendingCommandState into
  - TurningOnState
  - TurningOffState
  - TurningBleOnState
  - TurningBleOffState
- Move timeouts to enter() and exit()
- Move the native callback to AdapterService
- Remove scan setting disable

Bug: 72435402
Fixes: 66452171
Fixes: 66711270
Test: runtest bluetooth
      Toggle bluetooth from settings rapidly
      act.py -tc BtStressTest:test_toggle_bluetooth
Change-Id: Ic9728a9717dac7b337978deeb58104b38fea641e
parent 9a823259
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