OSDN Git Service

Tune delivery and batching of alarms
authorChristopher Tate <ctate@google.com>
Fri, 5 Dec 2014 02:27:16 +0000 (18:27 -0800)
committerChristopher Tate <ctate@google.com>
Fri, 5 Dec 2014 03:16:56 +0000 (19:16 -0800)
commit81f9882b5aadd6a2289c9f521a06a7af5f35ebf0
tree0f7f75c56381686718da6dbd73e496dbb8184f7f
parent6dfa60f33ca6018959ebff1efde82db7d2aed1e3
Tune delivery and batching of alarms

* Inexact alarms no longer coalesce with exact alarms.  The motivation here
is that exact alarms are far more likely to be wall-clock aligned, and in
general pulling all alarms toward wall-clock alignment is a bad idea.

* Wakeup times are now fuzzed within the target batch's allowed window
rather than being hard pinned at the start of the window.

Bug 18631821

Change-Id: Iefaf34eee3f2a6546abefc27e177ee2fdcff935f
services/core/java/com/android/server/AlarmManagerService.java