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

Commit 97c5dacf authored by Hyunyoung Song's avatar Hyunyoung Song
Browse files

Guard logging behind a feature flag

Bug: 158442037

Change-Id: Idcfc519037f975542b7ed91e411b008f32d41dd5
parent 4dfcbec5
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -173,6 +173,9 @@ public final class FeatureFlags {
            "SEPARATE_RECENTS_ACTIVITY", false,
            "Uses a separate recents activity instead of using the integrated recents+Launcher UI");

    public static final BooleanFlag USER_EVENT_DISPATCHER = new DeviceFlag(
            "USER_EVENT_DISPATCHER", true, "User event dispatcher collects logs.");

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