Add flag for widgets in Launcher preview

Test: Flag available in developer options (does nothing)
Bug: 185306338
Change-Id: I74063d0ef29f828f740633ce0dab860672f69d3d
Merged-In: I74063d0ef29f828f740633ce0dab860672f69d3d
This commit is contained in:
Brian Isganitis
2021-06-10 17:54:57 -04:00
parent d73fa1ef92
commit d1d6713700

View File

@@ -254,6 +254,10 @@ public final class FeatureFlags {
"ENABLE_WALLPAPER_SCRIM", false,
"Enables scrim over wallpaper for text protection.");
public static final BooleanFlag WIDGETS_IN_LAUNCHER_PREVIEW = getDebugFlag(
"WIDGETS_IN_LAUNCHER_PREVIEW", false,
"Enables widgets in Launcher preview for the Wallpaper app.");
public static void initialize(Context context) {
synchronized (sDebugFlags) {
for (DebugFlag flag : sDebugFlags) {