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

Commit 2d456066 authored by Olivier Gaillard's avatar Olivier Gaillard
Browse files

Enable Looper stats

Test: atest LooperStatsTest
Change-Id: I84a1e4d710cbc1d8d469d2c24bad4a21220f06b2
parent 9de4d6a3
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -55,11 +55,11 @@ public class LooperStatsService extends Binder {
            "debug.sys.looper_stats_enabled";
    private static final int DEFAULT_SAMPLING_INTERVAL = 100;
    private static final int DEFAULT_ENTRIES_SIZE_CAP = 2000;
    private static final boolean DEFAULT_ENABLED = false;
    private static final boolean DEFAULT_ENABLED = true;

    private final Context mContext;
    private final LooperStats mStats;
    private boolean mEnabled = false;
    private boolean mEnabled = DEFAULT_ENABLED;

    private LooperStatsService(Context context, LooperStats stats) {
        this.mContext = context;