From 3f4e2a6ca04e91f7ceae757854538690a723858b Mon Sep 17 00:00:00 2001 From: Francis Tsui Date: Wed, 17 Sep 2025 10:55:46 -0700 Subject: [PATCH] Add flag to enable async grpc client. PiperOrigin-RevId: 808220477 --- internal/platform/implementation/windows/generated/BUILD | 2 +- sharing/flags/generated/nearby_sharing_feature_flags.h | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/internal/platform/implementation/windows/generated/BUILD b/internal/platform/implementation/windows/generated/BUILD index 46f3e519..53e88040 100644 --- a/internal/platform/implementation/windows/generated/BUILD +++ b/internal/platform/implementation/windows/generated/BUILD @@ -48,7 +48,7 @@ cc_library( "//internal:__subpackages__", "//internal/platform/implementation/windows:__subpackages__", "//location/nearby/apps/better_together/plugins:__subpackages__", - "//location/nearby/apps/better_together/windows/nearby_share:__pkg__", + "//location/nearby/apps/better_together/windows/nearby_share:__subpackages__", "//sharing:__subpackages__", ], ) diff --git a/sharing/flags/generated/nearby_sharing_feature_flags.h b/sharing/flags/generated/nearby_sharing_feature_flags.h index ed8311e2..60e3fd63 100755 --- a/sharing/flags/generated/nearby_sharing_feature_flags.h +++ b/sharing/flags/generated/nearby_sharing_feature_flags.h @@ -76,6 +76,9 @@ constexpr auto kDeleteUnexpectedReceivedFileFix = // The default time in milliseconds a cached entry can be in LOST state. constexpr auto kDiscoveryCacheLostExpiryMs = flags::Flag(kConfigPackage, "45658774", 500); +// When true, enable Nearby Share gRPC async client. +constexpr auto kEnableNearbyShareGrpcAsyncClient = + flags::Flag(kConfigPackage, "45726584", false); // When true, enable wifi hotspot medium for HP Realtek devices. constexpr auto kEnableWifiHotspotForHpRealtekDevices = flags::Flag(kConfigPackage, "45673628", false); @@ -128,6 +131,7 @@ inline absl::btree_map&> GetBoolFlags() { {45409033, kShowAutoUpdateSetting}, {45630055, kUseGrpcClient}, {45657036, kDeleteUnexpectedReceivedFileFix}, + {45726584, kEnableNearbyShareGrpcAsyncClient}, {45673628, kEnableWifiHotspotForHpRealtekDevices}, {45683539, kUseAlternateServiceUuidForDiscovery}, {45417647, kEnableQrCodeUi},