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

Commit e599981a authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "hidhost: Don't attempt to reconnect hidhost" am: 82264267 am:...

Merge "hidhost: Don't attempt to reconnect hidhost" am: 82264267 am: 404935c8 am: deecca5b am: 7d85f461

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



Change-Id: I9c076eddbe79b76323b3b9dd907a100ef1831b8c
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents ab97dd47 7d85f461
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -586,6 +586,12 @@ bt_status_t btif_hh_connect(const RawAddress* bd_addr) {
    }
  }

  if (dev && dev->dev_status == BTHH_CONN_STATE_CONNECTED) {
    LOG_DEBUG("HidHost profile already connected for %s",
              PRIVATE_ADDRESS((*bd_addr)));
    return BT_STATUS_SUCCESS;
  }

  /* Not checking the NORMALLY_Connectible flags from sdp record, and anyways
   sending this
   request from host, for subsequent user initiated connection. If the remote is