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

Skip to content
Commit 8547a2dd authored by weichinweng's avatar weichinweng
Browse files

Hearing Aid State Machine: Only use getCurrentState to get connection state.

* In some race conditions, Hearing Aid Service will get different Hearing
Aid connection state form getCurrentState and mConnectionState.
* Only use getCurrentState to get Hearing Aid connection state.

Bug: 120607552
Test: Build Pass,
runtest bluetooth -c com.android.bluetooth.hearingaid.HearingAidServiceTest
runtest bluetooth -c
com.android.bluetooth.hearingaid.HearingAidStateMachineTest

Change-Id: I6e805f9bd230f98b4c1d0a1eb2540f11173618be
parent e9281f49
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