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

Skip to content
Commit 494e7613 authored by Hall Liu's avatar Hall Liu
Browse files

Get bluetooth state on the BluetoothRouteManager looper

When calling getCurrentState() on a state machine from outside its
looper, an ArrayOutOfBoundsException may occur if the state machine is
mid-transition. This change moves the call to getCurrentState into a
Runnable that's run on the looper.

Change-Id: I079552541367733bad5aad1ca6753529f0043143
Fixes: 37224925
Test: manual
parent f19e93c8
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