mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-16 15:36:12 -04:00
Add flag to switch between native and app notifications.
PiperOrigin-RevId: 836352152
This commit is contained in:
committed by
Copybara-Service
parent
007724c18f
commit
6b570ead96
@@ -113,7 +113,6 @@ cc_library(
|
||||
"transfer_metadata.h",
|
||||
"transfer_metadata_builder.h",
|
||||
],
|
||||
compatible_with = ["//buildenv/target:non_prod"],
|
||||
visibility = [
|
||||
"//location/nearby/apps/better_together/windows/nearby_share:__subpackages__",
|
||||
"//location/nearby/cpp/sharing:__subpackages__",
|
||||
|
||||
@@ -104,6 +104,9 @@ constexpr auto kEnableFlutterHooks =
|
||||
// When true, enables the mini pulse animation.
|
||||
constexpr auto kEnableMiniPulse =
|
||||
flags::Flag<bool>(kConfigPackage, "45724244", false);
|
||||
// When true, enables notifications implemented in native code.
|
||||
constexpr auto kEnableNativeNotifications =
|
||||
flags::Flag<bool>(kConfigPackage, "45743135", false);
|
||||
// When true, enables responsive UI.
|
||||
constexpr auto kEnableResponsiveUi =
|
||||
flags::Flag<bool>(kConfigPackage, "45727212", false);
|
||||
@@ -128,6 +131,7 @@ inline absl::btree_map<int, const flags::Flag<bool>&> GetBoolFlags() {
|
||||
{45661130, kEnableConflictBanner},
|
||||
{45720206, kEnableFlutterHooks},
|
||||
{45724244, kEnableMiniPulse},
|
||||
{45743135, kEnableNativeNotifications},
|
||||
{45727212, kEnableResponsiveUi},
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user