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

Commit 0e0c1471 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "GD Hack: Start service discovery on bonded"

parents 740c4e1d 20be1f96
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -269,6 +269,11 @@ static void btif_dm_send_bond_state_changed(RawAddress address, bt_bond_state_t
  }

  invoke_bond_state_changed_cb(BT_STATUS_SUCCESS, address, bond_state);
  if (bluetooth::shim::is_gd_shim_enabled()) {
    // TODO(b/165394095): Clean up the callback path and find the uniform place
    // to start service discovery
    btif_dm_get_remote_services(address, BT_TRANSPORT_UNKNOWN);
  }
}

void btif_dm_init(uid_set_t* set) {