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

Commit dfa10871 authored by Johanna Ye's avatar Johanna Ye Committed by Gerrit Code Review
Browse files

Merge "Allow existing HID pending connections to continue."

parents a0e60fd9 259c034c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -274,7 +274,7 @@ static jboolean connectHidNative(JNIEnv* env, jobject object,

  jboolean ret = JNI_TRUE;
  bt_status_t status = sBluetoothHidInterface->connect((RawAddress*)addr);
  if (status != BT_STATUS_SUCCESS) {
  if (status != BT_STATUS_SUCCESS && status != BT_STATUS_BUSY) {
    ALOGE("Failed HID channel connection, status: %d", status);
    ret = JNI_FALSE;
  }