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

Skip to content
Commit 50d3de63 authored by Himanshu Rawat's avatar Himanshu Rawat
Browse files

HidHost: Enforce connection policy on incoming connection

HidHostService tracks state change from DISCONNECTED to CONNECTED to
enforce the connection policy on incoming connections.
aosp/2215365 introduced the intermediate CONNECTING state before the
CONNECTED state when connection is initiated by the remote device. This
prevented the connection policy logic to trigger in HidHostService.

Test: mmm packages/modules/Bluetooth
Test: Manual | Pair and connect a HID device, disable input, enable the
flag, restart BT, initiate connection from the HID device
Bug: 330865052
Bug: 320762367

Change-Id: I6b28ac91c5c6eeb26932c2abf7ff54773c787fdd
parent ebca85b5
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