Loading flags/gap.aconfig +0 −10 Original line number Diff line number Diff line Loading @@ -123,16 +123,6 @@ flag { } } flag { name: "update_inquiry_result_on_flag_change" namespace: "bluetooth" description: "Update ADV flag in inquiry result as soon as updated flag received" bug: "329872838" metadata { purpose: PURPOSE_BUGFIX } } flag { name: "ble_gatt_server_use_address_type_in_connection" namespace: "bluetooth" Loading system/stack/btm/btm_ble_gap.cc +1 −2 Original line number Diff line number Diff line Loading @@ -2302,8 +2302,7 @@ void btm_ble_process_adv_pkt_cont_for_inquiry(uint16_t evt_type, tBLE_ADDR_TYPE if (p_i && (!(p_i->inq_info.results.device_type & BT_DEVICE_TYPE_BLE) || /* scan response to be updated */ (!p_i->scan_rsp) || (!p_i->inq_info.results.include_rsi && include_rsi) || (com::android::bluetooth::flags::update_inquiry_result_on_flag_change() && !p_i->inq_info.results.flag && p_flag && *p_flag))) { (!p_i->inq_info.results.flag && p_flag && *p_flag))) { update = true; } else if (btm_cb.ble_ctr_cb.is_ble_observe_active()) { btm_cb.neighbor.le_observe.results++; Loading Loading
flags/gap.aconfig +0 −10 Original line number Diff line number Diff line Loading @@ -123,16 +123,6 @@ flag { } } flag { name: "update_inquiry_result_on_flag_change" namespace: "bluetooth" description: "Update ADV flag in inquiry result as soon as updated flag received" bug: "329872838" metadata { purpose: PURPOSE_BUGFIX } } flag { name: "ble_gatt_server_use_address_type_in_connection" namespace: "bluetooth" Loading
system/stack/btm/btm_ble_gap.cc +1 −2 Original line number Diff line number Diff line Loading @@ -2302,8 +2302,7 @@ void btm_ble_process_adv_pkt_cont_for_inquiry(uint16_t evt_type, tBLE_ADDR_TYPE if (p_i && (!(p_i->inq_info.results.device_type & BT_DEVICE_TYPE_BLE) || /* scan response to be updated */ (!p_i->scan_rsp) || (!p_i->inq_info.results.include_rsi && include_rsi) || (com::android::bluetooth::flags::update_inquiry_result_on_flag_change() && !p_i->inq_info.results.flag && p_flag && *p_flag))) { (!p_i->inq_info.results.flag && p_flag && *p_flag))) { update = true; } else if (btm_cb.ble_ctr_cb.is_ble_observe_active()) { btm_cb.neighbor.le_observe.results++; Loading