From 16c20feffa46d08d5141d0b30d52ad868c0a3ebb Mon Sep 17 00:00:00 2001 From: Alejandro Nijamkin Date: Fri, 10 Jun 2022 11:33:28 -0700 Subject: [PATCH] Feature flag for which impl. of KeyguardBottomArea The next CLs introduce a refactor of the internals of KeyguardBottomAreaView(Controller). This flag is meant to control which implementation to use in order to limit risk while we work on the refactor. Test: Verified, through TheFlippinApp, that the flag exists and that flipping it affects the value read in the SysUI code. Bug: 235403311 Fixes: 235403311 Change-Id: Ic6c06b047bb5d4b90932dc103a101871f6e4e587 Merged-In: Ic6c06b047bb5d4b90932dc103a101871f6e4e587 --- packages/SystemUI/src/com/android/systemui/flags/Flags.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/SystemUI/src/com/android/systemui/flags/Flags.java b/packages/SystemUI/src/com/android/systemui/flags/Flags.java index 47a68bbbc8c02..cdbde786d73ea 100644 --- a/packages/SystemUI/src/com/android/systemui/flags/Flags.java +++ b/packages/SystemUI/src/com/android/systemui/flags/Flags.java @@ -84,6 +84,11 @@ public class Flags { public static final ResourceBooleanFlag FACE_SCANNING_ANIM = new ResourceBooleanFlag(205, R.bool.config_enableFaceScanningAnimation); + /** + * Whether the KeyguardBottomArea(View|Controller) should use the modern architecture or the old + * one. + */ + public static final BooleanFlag MODERN_BOTTOM_AREA = new BooleanFlag(206, false); /***************************************/ // 300 - power menu