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

Commit 422015cb authored by Pinyao Ting's avatar Pinyao Ting
Browse files

Minimal Phone Mode (part-1)

Include feature flag for minimal phone mode

Bug: 161462256
Test: manual
Change-Id: I4ddbe7fd2fd73b4cfaa27ab18c210f38133dd3c2
parent a64362ee
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -177,6 +177,10 @@ public final class FeatureFlags {
    public static final BooleanFlag USER_EVENT_DISPATCHER = new DeviceFlag(
            "USER_EVENT_DISPATCHER", true, "User event dispatcher collects logs.");

    public static final BooleanFlag ENABLE_MINIMAL_DEVICE = new DeviceFlag(
            "ENABLE_MINIMAL_DEVICE", false,
            "Allow user to toggle minimal device mode in launcher.");

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