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

Commit 3c8ae3ef authored by Federico Baron's avatar Federico Baron Committed by Android (Google) Code Review
Browse files

Merge "Add flags for new home gardening mode" into tm-qpr-dev

parents 803f88b8 dafd14d9
Loading
Loading
Loading
Loading
+10 −5
Original line number Diff line number Diff line
@@ -37,7 +37,8 @@ public final class FeatureFlags {

    public static final String FLAGS_PREF_NAME = "featureFlags";

    private FeatureFlags() { }
    private FeatureFlags() {
    }

    public static boolean showFlagTogglerUi(Context context) {
        return Utilities.IS_DEBUG_DEVICE && Utilities.isDevelopersOptionsEnabled(context);
@@ -292,6 +293,10 @@ public final class FeatureFlags {
    public static final BooleanFlag POPUP_MATERIAL_U = new DeviceFlag(
            "POPUP_MATERIAL_U", false, "Switch popup UX to use material U");

    public static final BooleanFlag SHOW_HOME_GARDENING = new DeviceFlag(
            "SHOW_HOME_GARDENING", false,
            "Show the new home gardening mode");

    public static void initialize(Context context) {
        synchronized (sDebugFlags) {
            for (DebugFlag flag : sDebugFlags) {