Handle system standby

PiperOrigin-RevId: 949324299
This commit is contained in:
Francis Tsui
2026-07-16 20:12:13 -07:00
committed by Copybara-Service
parent 953d9ea26c
commit 4301bc4fce
8 changed files with 215 additions and 6 deletions
@@ -61,6 +61,9 @@ constexpr auto kShowAutoUpdateSetting =
// The default time in milliseconds a cached entry can be in LOST state.
constexpr auto kDiscoveryCacheLostExpiryMs =
flags::Flag<int64_t>(kConfigPackage, "45658774", 15000);
// When true, enable suspend resume listener.
constexpr auto kEnableSuspendResumeListener =
flags::Flag<bool>(kConfigPackage, "45815625", false);
// When true, enable wifi hotspot medium for HP Realtek devices.
constexpr auto kEnableWifiHotspotForHpRealtekDevices =
flags::Flag<bool>(kConfigPackage, "45673628", false);
@@ -105,6 +108,7 @@ inline absl::btree_map<int, const flags::Flag<bool>&> GetBoolFlags() {
{45411589, kEnableRetryResumeTransfer},
{45459748, kEnableSendingDesktopEvents},
{45409033, kShowAutoUpdateSetting},
{45815625, kEnableSuspendResumeListener},
{45673628, kEnableWifiHotspotForHpRealtekDevices},
{45683539, kUseAlternateServiceUuidForDiscovery},
{45776229, kEnableBackup},