From 22bbb8c9af5e7a6e6f7d987ca6efec9090f8bd83 Mon Sep 17 00:00:00 2001 From: Will Leshner Date: Mon, 26 Jun 2023 15:22:10 -0700 Subject: [PATCH] Add sysui feature flags for two dream features. 1. A flag to enable hosting dreams within sysui (e.g. the lockscreen) rather than using DreamActivity. 2. A flag to enable using a DreamController hosted in sysui rather than the DreamController in system server. Test: manually (not really anything to test until the flags are enabled). Bug: 288287730, 286092087 Change-Id: I98af897905ba1f8e6108d5373a6bee73d97b5a50 --- packages/SystemUI/src/com/android/systemui/flags/Flags.kt | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/packages/SystemUI/src/com/android/systemui/flags/Flags.kt b/packages/SystemUI/src/com/android/systemui/flags/Flags.kt index 81d8201921dbe..cf26b1c103030 100644 --- a/packages/SystemUI/src/com/android/systemui/flags/Flags.kt +++ b/packages/SystemUI/src/com/android/systemui/flags/Flags.kt @@ -146,6 +146,14 @@ object Flags { val LOCKSCREEN_WITHOUT_SECURE_LOCK_WHEN_DREAMING = releasedFlag(208, "lockscreen_without_secure_lock_when_dreaming") + // TODO(b/286092087): Tracking Bug + @JvmField + val ENABLE_SYSTEM_UI_DREAM_CONTROLLER = unreleasedFlag(301, "enable_system_ui_dream_controller") + + // TODO(b/288287730): Tracking Bug + @JvmField + val ENABLE_SYSTEM_UI_DREAM_HOSTING = unreleasedFlag(302, "enable_system_ui_dream_hosting") + /** * Whether the clock on a wide lock screen should use the new "stepping" animation for moving * the digits when the clock moves.