From cea783e8a60eab18d6b7399ccc4e2c37271f2656 Mon Sep 17 00:00:00 2001 From: Aaron Liu Date: Tue, 2 Aug 2022 14:53:33 -0700 Subject: [PATCH] [Bouncer] Add bouncer feature flag. The bouncer refactor changes some of the existing behavior. To add an easy way to revert back to the old behavior, we want to enable/disable the refactor with a feature flag. Bug: 240299776 Test: None as this does not change any behavior Change-Id: I1335325599a554d5d98a2a840169191540165672 Merged-In: I1335325599a554d5d98a2a840169191540165672 --- packages/SystemUI/src/com/android/systemui/flags/Flags.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/packages/SystemUI/src/com/android/systemui/flags/Flags.java b/packages/SystemUI/src/com/android/systemui/flags/Flags.java index 733b1b6948514..1be0c82a6fa87 100644 --- a/packages/SystemUI/src/com/android/systemui/flags/Flags.java +++ b/packages/SystemUI/src/com/android/systemui/flags/Flags.java @@ -99,6 +99,12 @@ public class Flags { public static final BooleanFlag LOCKSCREEN_CUSTOM_CLOCKS = new BooleanFlag(207, false); + /** + * Flag to enable the usage of the new bouncer data source. This is a refactor of and + * eventual replacement of KeyguardBouncer.java. + */ + public static final BooleanFlag MODERN_BOUNCER = new BooleanFlag(208, true); + /***************************************/ // 300 - power menu public static final BooleanFlag POWER_MENU_LITE =