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

Commit 55e14845 authored by Zhihai Xu's avatar Zhihai Xu Committed by Android Git Automerger
Browse files

am 9927a55f: Merge "Crash after unpairing BT keyboard" into klp-dev

* commit '9927a55f':
  Crash after unpairing BT keyboard
parents 55b6e80e 9927a55f
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -452,7 +452,8 @@ BOOLEAN bta_hh_hdl_event(BT_HDR *p_msg)
                      * So if REMOVE_DEVICE is called and in_use is FALSE then we should treat this as a NULL p_cb. Hence we
                      * force the index to be IDX_INVALID
                      */
                    if (bta_hh_cb.kdev[index].in_use == FALSE) {
                    if ((index != BTA_HH_IDX_INVALID) &&
                        (bta_hh_cb.kdev[index].in_use == FALSE)) {
                        index = BTA_HH_IDX_INVALID;
                    }
// btla-specific --