summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorDan Sandler <dsandler@android.com>2017-05-28 12:18:53 -0400
committerDan Sandler <dsandler@android.com>2017-06-06 17:36:33 -0400
commitf5aafb9e18ae9563f9ad9c718b1a863afe254c0f (patch)
tree47bd196545e72923758d4a440921393f90e6285e /tools/aapt2/java/JavaClassGenerator_test.cpp
parent0b5efb3b5314e0115209d975e5f0a147fd747ec1 (diff)
Hide redundant foreground service notifications.
If an app with a foreground service has (at least one) FLAG_FOREGROUND notification shown to the user, we allow that to satisfy the requirement that the user be informed about such things. But if the fg notification or its channel is blocked by the user, we show the NOTE_FOREGROUND_SERVICES notification (a/k/a Dianne's Dungeon) provided to us by the activity manager. Note that if even one of the foreground processes for the current user is missing its disclosure notification, the user will see the whole dungeon. Bug: 36891897 Test: runtest -x frameworks/base/packages/SystemUI/tests/src/com/android/systemui/ForegroundServiceControllerTest.java Change-Id: I435b7c01e60f99da162c9ea61656e2991d2cb87c
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions