Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 05d371d8 authored by Santiago Etchebehere's avatar Santiago Etchebehere Committed by Android (Google) Code Review
Browse files

Merge "Add a SysUI fag for WallpaperPicker full screen preview" into tm-qpr-dev

parents f978dfde 35586c06
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -178,6 +178,9 @@ object CustomizationProviderContract {
        /** Flag denoting whether the customizable clocks feature is enabled. */
        const val FLAG_NAME_CUSTOM_CLOCKS_ENABLED = "is_custom_clocks_feature_enabled"

        /** Flag denoting whether the Wallpaper preview should use the full screen UI. */
        const val FLAG_NAME_WALLPAPER_FULLSCREEN_PREVIEW = "wallpaper_fullscreen_preview"

        object Columns {
            /** String. Unique ID for the flag. */
            const val NAME = "name"
+5 −0
Original line number Diff line number Diff line
@@ -216,6 +216,11 @@ object Flags {
    val ENABLE_WALLET_CONTEXTUAL_LOYALTY_CARDS =
        unreleasedFlag(226, "enable_wallet_contextual_loyalty_cards", teamfood = false)

    // TODO(b/242908637): Tracking Bug
    @JvmField
    val WALLPAPER_FULLSCREEN_PREVIEW =
        unreleasedFlag(227, "wallpaper_fullscreen_preview", teamfood = true)

    // 300 - power menu
    // TODO(b/254512600): Tracking Bug
    @JvmField val POWER_MENU_LITE = releasedFlag(300, "power_menu_lite")
+4 −0
Original line number Diff line number Diff line
@@ -363,6 +363,10 @@ constructor(
                name = Contract.FlagsTable.FLAG_NAME_CUSTOM_CLOCKS_ENABLED,
                value = featureFlags.isEnabled(Flags.LOCKSCREEN_CUSTOM_CLOCKS),
            ),
            KeyguardPickerFlag(
                name = Contract.FlagsTable.FLAG_NAME_WALLPAPER_FULLSCREEN_PREVIEW,
                value = featureFlags.isEnabled(Flags.WALLPAPER_FULLSCREEN_PREVIEW),
            ),
        )
    }

+1 −0
Original line number Diff line number Diff line
@@ -173,6 +173,7 @@ class CustomizationProviderTest : SysuiTestCase() {
                        set(Flags.CUSTOMIZABLE_LOCK_SCREEN_QUICK_AFFORDANCES, true)
                        set(Flags.LOCKSCREEN_CUSTOM_CLOCKS, true)
                        set(Flags.REVAMPED_WALLPAPER_UI, true)
                        set(Flags.WALLPAPER_FULLSCREEN_PREVIEW, true)
                    },
                repository = { quickAffordanceRepository },
                launchAnimator = launchAnimator,