summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorChristopher Tate <ctate@google.com>2020-11-03 17:20:19 -0800
committerChristopher Tate <ctate@google.com>2020-11-16 14:43:36 -0800
commitf2c18bbbc42044752c86c6a122ff0e5c3a8984c9 (patch)
tree9cfdfd4174992f936df770fbf52ae1f39367da1d /tools/aapt2/java/JavaClassGenerator_test.cpp
parent4a14b48dee2bdf851cd48cc8e8cbc71327a3818c (diff)
Defer FGS notification display for a few seconds
When a service is transitioned to the foreground state, we defer display of its associated Notification for a short time, to reduce user disturbance in situations where the FGS is short-lived. Apps can force immediate display when they know it's relevant, and Notifications known to correspond to contexts in which immediate display is appropriate - such as media playback - are not deferred. The behavior can be disabled or the deferral interval adjusted via DeviceConfig. Bug: 171499612 Test: ApiDemos Test: atest CtsAppTestCases:ServiceTest Test: atest CtsAppTestCases:NotificationManagerTest Change-Id: I0cae3dc6f943e99873ed8c1687914ad08ec29b57
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions