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

Commit 338766a2 authored by IHLHO KIM's avatar IHLHO KIM Committed by Andre Eisenbach
Browse files

Deregister from notifications when an HOGP background connection is cancelled

Bug: 29111689
Change-Id: I5b57da9e08dea372e9b236b360ffeeae4f6b49af
parent 67163084
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -2306,6 +2306,9 @@ void bta_hh_le_remove_dev_bg_conn(tBTA_HH_DEV_CB *p_dev_cb)

        BTA_GATTC_CancelOpen(bta_hh_cb.gatt_if, p_dev_cb->addr, false);
    }

    /* deregister all notifications */
    bta_hh_le_deregister_input_notif(p_dev_cb);
}

/*******************************************************************************