Fix StatLogger indexing in alarm manager
Test: Manually run: adb shell dumpsys alarm And check that sections under 'Alarm manager stats' and 'Alarm store stats' have non-zero values. Fixes: 168870483 Fixes: 168870482 Change-Id: I439eb871aa8ee180559c3d90ce17c1d5ab36f4aa
This commit is contained in:
@@ -252,7 +252,7 @@ public class AlarmManagerService extends SystemService {
|
||||
final ArrayList<IdleDispatchEntry> mAllowWhileIdleDispatches = new ArrayList();
|
||||
|
||||
interface Stats {
|
||||
int REORDER_ALARMS_FOR_STANDBY = 1;
|
||||
int REORDER_ALARMS_FOR_STANDBY = 0;
|
||||
}
|
||||
|
||||
private final StatLogger mStatLogger = new StatLogger("Alarm manager stats", new String[]{
|
||||
|
||||
@@ -46,7 +46,7 @@ public class BatchingAlarmStore implements AlarmStore {
|
||||
private AlarmClockRemovalListener mAlarmClockRemovalListener;
|
||||
|
||||
interface Stats {
|
||||
int REBATCH_ALL_ALARMS = 1;
|
||||
int REBATCH_ALL_ALARMS = 0;
|
||||
}
|
||||
|
||||
final StatLogger mStatLogger = new StatLogger("Alarm store stats", new String[]{
|
||||
|
||||
Reference in New Issue
Block a user