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

Skip to content
Commit 339e52f2 authored by Himanshu Rawat's avatar Himanshu Rawat
Browse files

HidHost: Use a non-zero value for enable event

HID host native uses 0 as both BTA_HH_ENABLE_EVT and empty event.
Any unplanned control channel message from the remote device can
generate and empty event. Such events cause the btif_hh to load the
bonded HID devices again.
This change creates a separate identifier for the empty event as 0. All
other event values are changed to accomodate this new event.

Bug: 330444923
Test: atest bluetooth_hh_test
Test: Manual | Pair and connect a HID device, disconnect and
reconnection using input device toggle in the device settings
Flag: EXEMPT minor bug fix

Change-Id: Icf770fc75a87d1a4612f2e06062d7b8b1f6a2010
parent 02995dab
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