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

Skip to content
Commit 11e6858e authored by Sandeep Samdaria's avatar Sandeep Samdaria
Browse files

Cache map client state machine state

Problem: In certain situation(unknown), querying state machine to get
the current state results in index out of bound exception.

Solution: Cache the recent state in the map client state machine and
return the recent state rather than querying the state machine.

Test: atest GoogleBluetoothInstrumentationTests:com.android.bluetooth
        .mapclient.MapClientServiceTest
Test: atest GoogleBluetoothInstrumentationTests:com.android.bluetooth
        .mapclient.MapClientStateMachineTest
Test: Tested on messaging use-cases on seahawk.
Bug: 278023570
Tag: #stability
Change-Id: I9db80535da8bc31fa5ed48368743a9efe1a8819d
parent 9ae6b903
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