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

Skip to content
Commit b04e6030 authored by Arthur Hsu's avatar Arthur Hsu
Browse files

Correctly handle GATT as only profile supported.

If GATT is the only profile enabled in config.xml, then AdapterService
will hang indefinitely since setProfileServiceState ignores GATT. This
is okay generally since GATT comes up with BLE, not with BREDR. But since
GATT is already running at this point, AdapterService will never know
that we can consider BREDR started.

Fix this by shortcutting to BREDR_STARTED in the case that we're trying
to start core services and GATT is the only supported profile.

Bug: 62415118 69965109
Test: Build ok
Change-Id: I47f7d0c21bb21773d5317fb264aa9adce8f5823e
parent 3f9dfd50
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