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

Commit c81b49f3 authored by Andre Eisenbach's avatar Andre Eisenbach Committed by Pavlin Radoslavov
Browse files

Disable auto-pairing for hands-free devices

Fixes: 30004157
Change-Id: Id170856fbee5ea345f02f55d3a6e3376d846c2de
(cherry picked from commit e8b81851c33095fe3b3ac78329073309be5421e1)
parent e7eba7ec
Loading
Loading
Loading
Loading
+0 −1
Original line number Original line Diff line number Diff line
@@ -923,7 +923,6 @@ static void btif_dm_pin_req_evt(tBTA_DM_PIN_REQ *p_pin_req)
    if (pairing_cb.is_local_initiated && (p_pin_req->min_16_digit == FALSE))
    if (pairing_cb.is_local_initiated && (p_pin_req->min_16_digit == FALSE))
    {
    {
        if (check_cod(&bd_addr, COD_AV_HEADSETS) ||
        if (check_cod(&bd_addr, COD_AV_HEADSETS) ||
            check_cod(&bd_addr, COD_AV_HANDSFREE) ||
            check_cod(&bd_addr, COD_AV_HEADPHONES) ||
            check_cod(&bd_addr, COD_AV_HEADPHONES) ||
            check_cod(&bd_addr, COD_AV_PORTABLE_AUDIO) ||
            check_cod(&bd_addr, COD_AV_PORTABLE_AUDIO) ||
            check_cod(&bd_addr, COD_AV_HIFI_AUDIO) ||
            check_cod(&bd_addr, COD_AV_HIFI_AUDIO) ||