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

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

Merge "HidHost: Enforce connection policy on incoming connection" into main am: af42e48e

parents 823e95e7 af42e48e
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -507,7 +507,11 @@ static void hh_open_handler(tBTA_HH_CONN& conn) {
      return;
    }
  }

  if (!IS_FLAG_ENABLED(allow_switching_hid_and_hogp)) {
    BTHH_STATE_UPDATE(conn.link_spec, BTHH_CONN_STATE_CONNECTING);
  }

  btif_hh_cb.pending_link_spec = {};

  if (conn.status != BTA_HH_OK) {