EWRONGVARNAME

Bug 9940349

Change-Id: I60205899cd33070394752fc4b2f1e0cf6a2d9192
This commit is contained in:
Christopher Tate
2013-07-19 14:51:44 -07:00
parent f40a0535ac
commit e982faffc9

View File

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