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

Commit ffe8cc01 authored by Jagrut Desai's avatar Jagrut Desai
Browse files

Adding a debug feature flag for taskbar pinning.

Bug: 265307333
Test: cl

Change-Id: I95cea392924fb9dc2acff99cd97a5fb4ddc32fbc
parent 77a388c7
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -385,6 +385,11 @@ public final class FeatureFlags {
            "ENABLE_MULTI_INSTANCE", false,
            "Enables creation and filtering of multiple task instances in overview");

    public static final BooleanFlag ENABLE_TASKBAR_PINNING = getDebugFlag(
            "ENABLE_TASKBAR_PINNING", false,
            "Enables taskbar pinning to allow user to switch between transient and persistent "
                    + "taskbar flavors");

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