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

Commit 3196a68d authored by Steve Kondik's avatar Steve Kondik Committed by Gerrit Code Review
Browse files

Merge "Fix bluetooth HID incoming connection not working since 2.3.5 merge" into gingerbread

parents 930898b2 995164b7
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -567,6 +567,9 @@ class BluetoothEventLoop {
            authorized = hid.getHidDevicePriority(device) > BluetoothHid.PRIORITY_OFF;
            if (authorized) {
                Log.i(TAG, "Allowing incoming HID connection from " + address);
                // This is not a typo. We need to tell the lower layer that we're accepting the
                // connection and the method to do that is in BluetoothA2dp.
                a2dp.allowIncomingConnect(device, authorized);
            } else {
                Log.i(TAG, "Rejecting incoming HID connection from " + address);
            }