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

Skip to content
Commit 0420b4fe authored by Jack He's avatar Jack He
Browse files

Extract dependencies for HeadsetStateMachine

* Isolated JNI native interface in a separate class
  HeadsetNativeInterface so that is can be mocked when testing
  HeadsetStateMachine
* Moved HeadsetStateMachine.StackEvent out as HeadsetStackEvent
* Restructured create(), start(), stop() and cleanup() methods in
  HeadsetService to create looper from a handler thread instead of using
  looper from main thread
* Added Javadoc to create, start, stop, and cleanup methods in
  ProfileService

Bug: 69005831
Test: runtest -j40 bluetooth
Change-Id: I7f68f734281415290ca5ca7fab8b20a6ee4a59fc
parent 73a15aac
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