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

Commit b5b4bca8 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

am: 99c65b11

Change-Id: Ia9730692af1c79afda93d208779fcd8bbde2323c
parents 6c14d005 99c65b11
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(