Turn off device_idle_alarms logging

The logging is causing a NullPointerException. Turning off temporarily
while it can be fixed.

Test: Manual inspection of the output of `adb shell dumpsys alarm`

Fixes: 178687870
Change-Id: I5455a9c61769cb9da1ce58de5d9a038e29d8231d
This commit is contained in:
Suprabh Shukla
2021-01-28 09:40:32 -08:00
parent bd4c2eab98
commit 00951f6c94

View File

@@ -151,8 +151,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 allow-while-idle revamp is completed.
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;