commit | eb7b1d248c51f63b7bdf111b5421c0301d905d11 | [log] [tgz] |
---|---|---|
author | Fengjiang Li <[email protected]> | Mon Aug 07 10:57:10 2023 -0700 |
committer | Fengjiang Li <[email protected]> | Mon Aug 07 11:45:19 2023 -0700 |
tree | da09c235033c886b7f44e56a63316238f3546cb2 | |
parent | ae856b4054ffd073ebb3916094792b0756c5de03 [diff] |
Add WALLPAPER_PICKER_GRID_APPLY_BUTTON to SysUi Flags.kt Test: N/A Bug: 294866904 Change-Id: Ied272195123ea67a636ddafe946c510e4055691d
diff --git a/packages/SystemUI/customization/src/com/android/systemui/shared/customization/data/content/CustomizationProviderContract.kt b/packages/SystemUI/customization/src/com/android/systemui/shared/customization/data/content/CustomizationProviderContract.kt index 46f5971..92d2bd2 100644 --- a/packages/SystemUI/customization/src/com/android/systemui/shared/customization/data/content/CustomizationProviderContract.kt +++ b/packages/SystemUI/customization/src/com/android/systemui/shared/customization/data/content/CustomizationProviderContract.kt
@@ -190,6 +190,9 @@ /** Flag denoting transit clock are enabled in wallpaper picker. */ const val FLAG_NAME_PAGE_TRANSITIONS = "wallpaper_picker_page_transitions" + /** Flag denoting adding apply button to wallpaper picker's grid preview page. */ + const val FLAG_NAME_GRID_APPLY_BUTTON = "wallpaper_picker_grid_apply_button" + /** Flag denoting whether preview loading animation is enabled. */ const val FLAG_NAME_WALLPAPER_PICKER_PREVIEW_ANIMATION = "wallpaper_picker_preview_animation"
diff --git a/packages/SystemUI/src/com/android/systemui/flags/Flags.kt b/packages/SystemUI/src/com/android/systemui/flags/Flags.kt index e60600c..c448e14 100644 --- a/packages/SystemUI/src/com/android/systemui/flags/Flags.kt +++ b/packages/SystemUI/src/com/android/systemui/flags/Flags.kt
@@ -229,6 +229,12 @@ val WALLPAPER_PICKER_PAGE_TRANSITIONS = unreleasedFlag(291710220, "wallpaper_picker_page_transitions") + /** Add "Apply" button to wall paper picker's grid preview page. */ + // TODO(b/294866904): Tracking bug. + @JvmField + val WALLPAPER_PICKER_GRID_APPLY_BUTTON = + unreleasedFlag(294866904, "wallpaper_picker_grid_apply_button") + /** Whether to run the new udfps keyguard refactor code. */ // TODO(b/279440316): Tracking bug. @JvmField