Loading system/gd/rust/common/src/init_flags.rs +0 −1 Original line number Diff line number Diff line Loading @@ -378,7 +378,6 @@ init_flags!( irk_rotation, leaudio_targeted_announcement_reconnection_mode = true, leaudio_enable_health_based_actions, pass_phy_update_callback = true, pbap_pse_dynamic_version_upgrade = false, periodic_advertising_adi = true, private_gatt = true, Loading system/gd/rust/shim/src/init_flags.rs +0 −1 Original line number Diff line number Diff line Loading @@ -34,7 +34,6 @@ mod ffi { fn irk_rotation_is_enabled() -> bool; fn leaudio_targeted_announcement_reconnection_mode_is_enabled() -> bool; fn leaudio_enable_health_based_actions_is_enabled() -> bool; fn pass_phy_update_callback_is_enabled() -> bool; fn pbap_pse_dynamic_version_upgrade_is_enabled() -> bool; fn periodic_advertising_adi_is_enabled() -> bool; fn private_gatt_is_enabled() -> bool; Loading system/main/shim/acl.cc +4 −9 Original line number Diff line number Diff line Loading @@ -826,15 +826,10 @@ class LeShimAclConnection void OnPhyUpdate(hci::ErrorCode hci_status, uint8_t tx_phy, uint8_t rx_phy) override { if (common::init_flags::pass_phy_update_callback_is_enabled()) { TRY_POSTING_ON_MAIN( interface_.on_phy_update, static_cast<tGATT_STATUS>(ToLegacyHciErrorCode(hci_status)), handle_, tx_phy, rx_phy); } else { LOG_WARN("Not posting OnPhyUpdate callback since it is disabled: (tx:%x, rx:%x, status:%s)", tx_phy, rx_phy, hci::ErrorCodeText(hci_status).c_str()); } } void OnDisconnection(hci::ErrorCode reason) { Loading Loading
system/gd/rust/common/src/init_flags.rs +0 −1 Original line number Diff line number Diff line Loading @@ -378,7 +378,6 @@ init_flags!( irk_rotation, leaudio_targeted_announcement_reconnection_mode = true, leaudio_enable_health_based_actions, pass_phy_update_callback = true, pbap_pse_dynamic_version_upgrade = false, periodic_advertising_adi = true, private_gatt = true, Loading
system/gd/rust/shim/src/init_flags.rs +0 −1 Original line number Diff line number Diff line Loading @@ -34,7 +34,6 @@ mod ffi { fn irk_rotation_is_enabled() -> bool; fn leaudio_targeted_announcement_reconnection_mode_is_enabled() -> bool; fn leaudio_enable_health_based_actions_is_enabled() -> bool; fn pass_phy_update_callback_is_enabled() -> bool; fn pbap_pse_dynamic_version_upgrade_is_enabled() -> bool; fn periodic_advertising_adi_is_enabled() -> bool; fn private_gatt_is_enabled() -> bool; Loading
system/main/shim/acl.cc +4 −9 Original line number Diff line number Diff line Loading @@ -826,15 +826,10 @@ class LeShimAclConnection void OnPhyUpdate(hci::ErrorCode hci_status, uint8_t tx_phy, uint8_t rx_phy) override { if (common::init_flags::pass_phy_update_callback_is_enabled()) { TRY_POSTING_ON_MAIN( interface_.on_phy_update, static_cast<tGATT_STATUS>(ToLegacyHciErrorCode(hci_status)), handle_, tx_phy, rx_phy); } else { LOG_WARN("Not posting OnPhyUpdate callback since it is disabled: (tx:%x, rx:%x, status:%s)", tx_phy, rx_phy, hci::ErrorCodeText(hci_status).c_str()); } } void OnDisconnection(hci::ErrorCode reason) { Loading