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

Commit 0eed65a8 authored by Johanna Ye's avatar Johanna Ye Committed by Automerger Merge Worker
Browse files

Merge "Allow existing HID pending connections to continue." am: 6ea0706e

Original change: https://android-review.googlesource.com/c/platform/packages/apps/Bluetooth/+/1649371

Change-Id: I2dac141a716b543bd55ed3d79c98a1b4500ef036
parents c4ffc5ca 6ea0706e
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;
  }