summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorChristopher Tate <ctate@google.com>2018-09-28 16:23:10 -0700
committerChristopher Tate <ctate@google.com>2018-10-02 12:46:53 -0700
commitc8b7f4359784c1277292d431b4539c76b616c78a (patch)
tree17e3088c453943525116092d4df65b4b527a0292 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentb32d038f04aba8e06eb14aee74757ee97180d641 (diff)
Make TIME_TICK an unordered broadcast
TIME_TICK is a foreground broadcast that goes only to registered receivers, but was being dispatched via the ordered queue as a side- effect of being sent directly as an alarm operation. We now use a direct method-call alarm as the trigger and send it as an unordered broadcast instead. This eliminates the potential for observed issues of slow TIME_TICK handling leading to significant latencies for subsequent foreground-priority broadcasts such as live phone call flows. Bug: 111404343 Bug: 116719392 Test: atest CtsAlarmManagerTestCases Test: 'dumpsys activity broadcasts' and observe that TIME_TICK is no longer being dispatched as "ordered=true" Change-Id: I9c768668aaf6447221c905969ee6948e81958eb0
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions