summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorAdrian Roos <roosa@google.com>2017-07-26 17:29:59 +0200
committerAdrian Roos <roosa@google.com>2017-07-27 15:54:13 +0000
commit3bad9a6caf99031eb6cef2f437ca60e6723bc60a (patch)
tree88bcff444df0d94fd49fa8dbe5e9e8d3f16e0989 /tools/aapt2/java/JavaClassGenerator.cpp
parent4bb2f8e9fb25b41fc5dc963b1c9379caeb7ccade (diff)
HeadsUpManager: escalate via wakefulness lifecycle instead of broadcast
Fixes an issue where heads up notifications were escalated too late, which caused notifications not to show on ambient display if they came in after the device started dozing but before the SCREEN_OFF intent came in. Instead, we now escalate when we start going to sleep. Note that SCREEN_OFF is dispatched on the wakefulness lifecycle, not the screen lifecycle. Change-Id: Ied73161d1007d1c65c31e8c5a6f660124a1f4385 Fixes: 63992199 Test: Receive notification right when the display turns off. Make sure AOD does not show in a weird state.
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions