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

Commit 563c4b57 authored by Suprabh Shukla's avatar Suprabh Shukla
Browse files

Turn off device-idle alarm history

Test: adb shell dumpsys alarm
Should not show a section labelled "Allow while idle dispatches".

Fixes: 178484639
Change-Id: Idab67a7a3a78b89e80f60e24f3b0a6e3a0bcb68a
parent b4da4f36
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -183,8 +183,7 @@ public class AlarmManagerService extends SystemService {
    static final boolean DEBUG_BG_LIMIT = localLOGV || false;
    static final boolean DEBUG_STANDBY = localLOGV || false;
    static final boolean RECORD_ALARMS_IN_HISTORY = true;
    // TODO(b/178484639) : Turn off once alarms and reminders work is complete.
    static final boolean RECORD_DEVICE_IDLE_ALARMS = true;
    static final boolean RECORD_DEVICE_IDLE_ALARMS = false;
    static final String TIMEZONE_PROPERTY = "persist.sys.timezone";

    static final int TICK_HISTORY_DEPTH = 10;