summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorDan Sandler <dsandler@android.com>2017-10-26 23:27:57 -0400
committerDaniel Sandler <dsandler@android.com>2017-10-27 14:35:53 +0000
commit9830b5a8e41c3b477064e3b378734fc129e8342f (patch)
tree4732212b8ce933aeb374f6f26d0216a02716bc2e /tools/aapt2/java/JavaClassGenerator.cpp
parent43d5d86cda0fe2ab1eefe2e0b3c654dcde2db5f7 (diff)
Give fg services a shelf life before they go bad.
When a fg service starts (as indicated by its presence in a NOTE_FOREGROUND_SERVICES notification), we note the service start time (as encoded in Notification.when in ActivityMgr). SysUI will suppress the dungeon (foreground service disclosure) notification until 5 seconds have elapsed since the earliest service start time. After that, if the service is still running, the disclosure will be shown. Bug: 67819284 Test: runtest -x frameworks/base/packages/SystemUI/tests/src/com/android/systemui/ForegroundServiceControllerTest.java Change-Id: I5b6df95eb673e2f551aaa3ecc5a7df617f815a90
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions