summaryrefslogtreecommitdiff
path: root/libs/hwui/ProgramCache.cpp
diff options
context:
space:
mode:
author Dan Sandler <dsandler@android.com> 2017-05-28 12:18:53 -0400
committer Dan Sandler <dsandler@android.com> 2017-06-05 11:18:59 -0400
commit008cea772ac4d6122e81c19ff6128e33b7415917 (patch)
tree9d445e142348c3d9e4b997b5abcf0009596a8e8f /libs/hwui/ProgramCache.cpp
parent2f36ab88d706965dae8c1eaafcd02abb3f0097c8 (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: I4f5d96f80b7c1901faadb56661a42d26f746aa88
Diffstat (limited to 'libs/hwui/ProgramCache.cpp')
0 files changed, 0 insertions, 0 deletions