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

Skip to content
Commit cacf18ae authored by Yun-Hao Chung's avatar Yun-Hao Chung Committed by Yun-hao Chung
Browse files

Floss: Initialize core profile after btif is ready

In btif_hh, it is expected to enable the service after btif
initialization completes. If we enable the HID profile before btif
initialized, libbluetooth would end up in a weird state and the L2CAP
PSM would never be registered.

This change fixes the problem by delaying the core profile
initialization to btif enabled callback.

Bug: 298038671
Test: mma -j32
Test: run bluetoothAdapterEPHealth
Test: test headset CUJ on zork/morphius with WH-1000XM4
Tag: #floss
Change-Id: Id0a45e29a6a714f2ff23121e5a0c3be55908f113
parent 5da20d02
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