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
Loading
Please register or sign in to comment