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

Commit 478189c0 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Hearing Aid: Removes all registrations for connection when disconnect HA"

parents b4668b6a f914684a
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1251,8 +1251,8 @@ class HearingAidImpl : public HearingAid {
      BTA_GATTC_CancelOpen(gatt_if, address, true);
    }

    // cancel autoconnect
    BTA_GATTC_CancelOpen(gatt_if, address, false);
    // Removes all registrations for connection.
    BTA_GATTC_CancelOpen(0, address, false);

    // Inform the other side (if any) of this disconnection
    std::vector<uint8_t> inform_disconn_state(