Loading system/gd/rust/common/src/init_flags.rs +0 −1 Original line number Diff line number Diff line Loading @@ -387,7 +387,6 @@ init_flags!( pbap_pse_dynamic_version_upgrade = false, periodic_advertising_adi = true, private_gatt = true, queue_l2cap_coc_while_encrypting = true, redact_log = true, rust_event_loop = true, sco_codec_select_lc3, Loading system/gd/rust/shim/src/init_flags.rs +0 −1 Original line number Diff line number Diff line Loading @@ -43,7 +43,6 @@ mod ffi { fn pbap_pse_dynamic_version_upgrade_is_enabled() -> bool; fn periodic_advertising_adi_is_enabled() -> bool; fn private_gatt_is_enabled() -> bool; fn queue_l2cap_coc_while_encrypting_is_enabled() -> bool; fn redact_log_is_enabled() -> bool; fn rust_event_loop_is_enabled() -> bool; fn sco_codec_select_lc3_is_enabled() -> bool; Loading system/stack/btm/btm_ble.cc +4 −10 Original line number Diff line number Diff line Loading @@ -991,17 +991,11 @@ tL2CAP_LE_RESULT_CODE btm_ble_start_sec_check(const RawAddress& bd_addr, break; } if (ble_sec_act == BTM_BLE_SEC_NONE) { if (bluetooth::common::init_flags::queue_l2cap_coc_while_encrypting_is_enabled()) { if (sec_act != BTM_SEC_ENC_PENDING) { if (ble_sec_act == BTM_BLE_SEC_NONE && sec_act != BTM_SEC_ENC_PENDING) { return result; } } else { return result; } } else { l2cble_update_sec_act(bd_addr, sec_act); } BTM_SetEncryption(bd_addr, BT_TRANSPORT_LE, p_callback, p_ref_data, ble_sec_act); Loading Loading
system/gd/rust/common/src/init_flags.rs +0 −1 Original line number Diff line number Diff line Loading @@ -387,7 +387,6 @@ init_flags!( pbap_pse_dynamic_version_upgrade = false, periodic_advertising_adi = true, private_gatt = true, queue_l2cap_coc_while_encrypting = true, redact_log = true, rust_event_loop = true, sco_codec_select_lc3, Loading
system/gd/rust/shim/src/init_flags.rs +0 −1 Original line number Diff line number Diff line Loading @@ -43,7 +43,6 @@ mod ffi { fn pbap_pse_dynamic_version_upgrade_is_enabled() -> bool; fn periodic_advertising_adi_is_enabled() -> bool; fn private_gatt_is_enabled() -> bool; fn queue_l2cap_coc_while_encrypting_is_enabled() -> bool; fn redact_log_is_enabled() -> bool; fn rust_event_loop_is_enabled() -> bool; fn sco_codec_select_lc3_is_enabled() -> bool; Loading
system/stack/btm/btm_ble.cc +4 −10 Original line number Diff line number Diff line Loading @@ -991,17 +991,11 @@ tL2CAP_LE_RESULT_CODE btm_ble_start_sec_check(const RawAddress& bd_addr, break; } if (ble_sec_act == BTM_BLE_SEC_NONE) { if (bluetooth::common::init_flags::queue_l2cap_coc_while_encrypting_is_enabled()) { if (sec_act != BTM_SEC_ENC_PENDING) { if (ble_sec_act == BTM_BLE_SEC_NONE && sec_act != BTM_SEC_ENC_PENDING) { return result; } } else { return result; } } else { l2cble_update_sec_act(bd_addr, sec_act); } BTM_SetEncryption(bd_addr, BT_TRANSPORT_LE, p_callback, p_ref_data, ble_sec_act); Loading