summaryrefslogtreecommitdiff
path: root/libs/androidfw/ResourceTimer.cpp
diff options
context:
space:
mode:
author Christopher Tate <ctate@google.com> 2022-08-18 18:10:04 -0700
committer Christopher Tate <ctate@google.com> 2022-08-29 11:36:11 -0700
commit71249db69fda3f195dadd43a964ddb2ecacb21b0 (patch)
tree7976a0ea9fbd1a67923f57739bbf820c707e7719 /libs/androidfw/ResourceTimer.cpp
parent21d8b0c7dae25a5eb9788f826fd642531e5cdb73 (diff)
Implement alarm precedence for broadcast delivery
Rather than queueing alarm-triggered broadcasts with the rest of the outbound ordered broadcasts, we now give them delivery precedence over the general queue, to minimize parasitic execution under the alarm wakelock. A new DeviceConfig flag can optionally be used to override the platform default and select between immediate alarm delivery and the previous behavior. Bug: 161537193 Test: atest CtsAlarmManagerTestCases Change-Id: Ic18654427a07831dfbe7ec5edace36999cf9973f
Diffstat (limited to 'libs/androidfw/ResourceTimer.cpp')
0 files changed, 0 insertions, 0 deletions