OSDN Git Service

Disable auto-pairing for hands-free devices
authorAndre Eisenbach <eisenbach@google.com>
Thu, 7 Jul 2016 16:58:59 +0000 (09:58 -0700)
committerPavlin Radoslavov <pavlin@google.com>
Thu, 7 Jul 2016 19:27:17 +0000 (12:27 -0700)
Fixes: 30004157
Change-Id: Id170856fbee5ea345f02f55d3a6e3376d846c2de
(cherry picked from commit e8b81851c33095fe3b3ac78329073309be5421e1)

btif/src/btif_dm.c

index c47909f..b1ad00b 100644 (file)
@@ -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 (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_PORTABLE_AUDIO) ||
             check_cod(&bd_addr, COD_AV_HIFI_AUDIO) ||