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

Commit 99c65b11 authored by weichinweng's avatar weichinweng Committed by android-build-merger
Browse files

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

am: 478189c0

Change-Id: I83875ebb05219a9453ba03d2abf6cfb3386a0bb4
parents d6fbbe3e 478189c0
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(