Add flag to control whether to disconnect the GATT client when exiting the BLE GATT service.

PiperOrigin-RevId: 758474539
This commit is contained in:
Edwin Wu
2025-05-13 19:52:27 -07:00
committed by Copybara-Service
parent 30b32e52f2
commit 540f4bac7a
4 changed files with 14 additions and 3 deletions
@@ -104,6 +104,9 @@ constexpr auto kEnableDynamicRoleSwitch =
// Enable/Disable DCT advertising/scanning specification.
constexpr auto kEnableDct =
flags::Flag<bool>(kConfigPackage, "45697202", false);
// Enable/Disable GATT client disconnection.
constexpr auto kEnableGattClientDisconnection =
flags::Flag<bool>(kConfigPackage, "45698964", false);
} // namespace nearby_connections_feature
} // namespace config_package_nearby
} // namespace connections