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

Skip to content
Commit 865f0328 authored by Himanshu Rawat's avatar Himanshu Rawat
Browse files

HidHost: Do not remove bonded device due to unexpected HID connection

New incoming HID connections are not allowed. Such connections should be
rejected and disabled, instead of removing the device. It is possible
that the remote device intiaited HID connection immediately after
pairing while the Android BT stack was still performing service
discovery. In such cases, HidHostService must reject the connection but
not remove the device. After service discovery is completed, PhonePolicy
may ask to connect the HID service.

Test: mmm packages/modules/Bluetooth
Test: Manual | Pair HID device, disable input device toggle, initiate
connection from HID device, connection should be unsuccessful but bond
should be retained
Bug: 331350601
Bug: 320762367

Change-Id: Ie32559468d7b8d70caab5bda37f590f6f3e4a42e
parent 621e6f32
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