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
This commit is contained in:
Suprabh Shukla
2021-05-25 22:18:45 -07:00
parent b4da4f362d
commit 563c4b5739

View File

@@ -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;