From ee08ce22760f08511f40968535e4fb9d25580e58 Mon Sep 17 00:00:00 2001 From: Darrell Shi Date: Mon, 18 Sep 2023 22:54:32 +0000 Subject: Add COMMUNAL_HUB flag This is a resource flag used to control whether communal features like the glanceable hub is enabled. Bug: 300995746 Bug: 300483707 Test: n/a Change-Id: Iba701f65f27f14333405e148b6839209b4d3f293 --- packages/SystemUI/src/com/android/systemui/flags/Flags.kt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/SystemUI/src/com/android/systemui/flags/Flags.kt b/packages/SystemUI/src/com/android/systemui/flags/Flags.kt index be6a6cb26520..1a474fa877ba 100644 --- a/packages/SystemUI/src/com/android/systemui/flags/Flags.kt +++ b/packages/SystemUI/src/com/android/systemui/flags/Flags.kt @@ -806,4 +806,9 @@ object Flags { /** Enable showing a dialog when clicking on Quick Settings bluetooth tile. */ @JvmField val BLUETOOTH_QS_TILE_DIALOG = unreleasedFlag("bluetooth_qs_tile_dialog") + + // TODO(b/300995746): Tracking Bug + /** Enable communal hub features. */ + @JvmField + val COMMUNAL_HUB = resourceBooleanFlag(R.bool.config_communalServiceEnabled, "communal_hub") } -- cgit v1.2.3-59-g8ed1b