am f9221a10: am 3bec5090: Merge "Properly recognize repeating wakeup alarms" into lmp-mr1-dev

* commit 'f9221a1076203832d8d88a8720c12cad91aee906':
  Properly recognize repeating wakeup alarms
This commit is contained in:
Christopher Tate
2014-12-02 23:56:58 +00:00
committed by Android Git Automerger

View File

@@ -1445,12 +1445,9 @@ class AlarmManagerService extends SystemService {
maxTriggerTime(nowELAPSED, nextElapsed, alarm.repeatInterval),
alarm.repeatInterval, alarm.operation, batch.standalone, true,
alarm.workSource, alarm.alarmClock, alarm.userId);
}
// For now we count this as a wakeup alarm, meaning it needs to be
// delivered immediately. In the future we should change this, but
// that required delaying when we reschedule the repeat...!
hasWakeup = false;
} else if (alarm.wakeup) {
if (alarm.wakeup) {
hasWakeup = true;
}