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

Commit 0c5ae750 authored by weichinweng's avatar weichinweng Committed by android-build-merger
Browse files

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

Merge "Hearing Aid: Removes all registrations for connection when disconnect HA" am: 478189c0 am: 99c65b11
am: b5b4bca8

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


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


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