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

Commit e982faff authored by Christopher Tate's avatar Christopher Tate
Browse files

EWRONGVARNAME

Bug 9940349

Change-Id: I60205899cd33070394752fc4b2f1e0cf6a2d9192
parent f40a0535
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -1009,15 +1009,15 @@ class AlarmManagerService extends IAlarmManager.Stub {

    void recordWakeupAlarms(ArrayList<Batch> batches, long nowELAPSED, long nowRTC) {
        final int numBatches = batches.size();
        for (int i = 0; i < numBatches; i++) {
            Batch b = batches.get(i);
        for (int nextBatch = 0; nextBatch < numBatches; nextBatch++) {
            Batch b = batches.get(nextBatch);
            if (b.start > nowELAPSED) {
                break;
            }

            final int numAlarms = b.alarms.size();
            for (int j = 0; j < numAlarms; j++) {
                Alarm a = b.alarms.get(i);
            for (int nextAlarm = 0; nextAlarm < numAlarms; nextAlarm++) {
                Alarm a = b.alarms.get(nextAlarm);
                WakeupEvent e = new WakeupEvent(nowRTC,
                        a.operation.getCreatorUid(),
                        a.operation.getIntent().getAction());