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

Commit 170911d8 authored by Grace's avatar Grace Committed by Grace Han
Browse files

Create Flag for Region Sampling in Smartspace

This change adds a feature flag to control region sampling for
the homescreen smartspace. The flag helps developers toggle the
feature on and off during debugging.

Bug: 202758428
Test: N/A
Change-Id: I99e795408f5550b4a535ef181744f029e09c4436
parent 3430f7ad
Loading
Loading
Loading
Loading
+7 −0
Original line number Original line Diff line number Diff line
@@ -169,6 +169,13 @@ public final class FeatureFlags {
            "ENABLE_SMARTSPACE_DISMISS", true,
            "ENABLE_SMARTSPACE_DISMISS", true,
            "Adds a menu option to dismiss the current Enhanced Smartspace card.");
            "Adds a menu option to dismiss the current Enhanced Smartspace card.");


    /**
     * Enables region sampling for text color: Needs system health assessment before turning on
     */
    public static final BooleanFlag ENABLE_REGION_SAMPLING =  getDebugFlag(
            "ENABLE_REGION_SAMPLING", false,
            "Enable region sampling to determine color of text on screen.");

    public static final BooleanFlag ALWAYS_USE_HARDWARE_OPTIMIZATION_FOR_FOLDER_ANIMATIONS =
    public static final BooleanFlag ALWAYS_USE_HARDWARE_OPTIMIZATION_FOR_FOLDER_ANIMATIONS =
            getDebugFlag(
            getDebugFlag(
            "ALWAYS_USE_HARDWARE_OPTIMIZATION_FOR_FOLDER_ANIMATIONS", false,
            "ALWAYS_USE_HARDWARE_OPTIMIZATION_FOR_FOLDER_ANIMATIONS", false,