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

Commit e9f52dec 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 am:...

Merge "Allow existing HID pending connections to continue." am: 6ea0706e am: 0eed65a8 am: 64355c71

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

Change-Id: I3ce8d7d10e85f846f907b08872ad5295c9caeb5f
parents 3d7a7b66 64355c71
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;
  }