Loading system/btif/src/btif_dm.cc +2 −4 Original line number Diff line number Diff line Loading @@ -1205,10 +1205,8 @@ static void btif_dm_auth_cmpl_evt(tBTA_DM_AUTH_CMPL* p_auth_cmpl) { } // Report bond state change to java only if we are bonding to a device or // a device is removed from the pairing list. if (pairing_cb.state == BT_BOND_STATE_BONDING) { bond_state_changed(status, bd_addr, BT_BOND_STATE_BONDING); } else if (is_bonded_device_removed) { bond_state_changed(status, bd_addr, BT_BOND_STATE_NONE); if (pairing_cb.state == BT_BOND_STATE_BONDING || is_bonded_device_removed) { bond_state_changed(status, bd_addr, state); } } } Loading Loading
system/btif/src/btif_dm.cc +2 −4 Original line number Diff line number Diff line Loading @@ -1205,10 +1205,8 @@ static void btif_dm_auth_cmpl_evt(tBTA_DM_AUTH_CMPL* p_auth_cmpl) { } // Report bond state change to java only if we are bonding to a device or // a device is removed from the pairing list. if (pairing_cb.state == BT_BOND_STATE_BONDING) { bond_state_changed(status, bd_addr, BT_BOND_STATE_BONDING); } else if (is_bonded_device_removed) { bond_state_changed(status, bd_addr, BT_BOND_STATE_NONE); if (pairing_cb.state == BT_BOND_STATE_BONDING || is_bonded_device_removed) { bond_state_changed(status, bd_addr, state); } } } Loading