Properly recognize repeating wakeup alarms
automerge: 8965a8d
* commit '8965a8da5513cf31a313ecdac3506718c2813932':
Properly recognize repeating wakeup alarms
This commit is contained in:
@@ -1425,12 +1425,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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user