summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorEvan Laird <evanlaird@google.com>2020-01-24 17:37:39 -0500
committerEvan Laird <evanlaird@google.com>2020-02-04 12:47:27 -0500
commit043736647d5ac4dea7aab53fc23a4ab611dd4cfa (patch)
tree78fd3e3830cb8dcdeeb0ce99eead4740e48007e7 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentbe15e3e218900f5df0ce96a3dcff8843bcc111f5 (diff)
Allow the visual dismissal of foreground service notifs
This CL adds support for a new feature flag (notifications_allow_fgs_dismissal) that enables a user to visually dismiss a notificationg that represents FLAG_ONGOING_EVENT or FLAG_FOREGROUND_SERVICE into a new bottom section of the shade. Tapping on the list items in the new section reinstantiates them back to the shade. In this CL: - the new device_config flag + feature controller for it - ForegroundServiceSectionController that can track dismissed FGS notifications and then show them in its own decor view - ForegroundServiceDungeonView that is optionally added at the bottom of the shade - Changes to the logic for NotificationEntry#isClearable to take into account the new flag Todo: - Minify the dungeon view before first tap - pin the dungeon view to the bottom of the notification shade Test: atest SystemUITests Test: adb shell device_config put systemui notifications_use_people_filtering false && adb shell kill $(pid com.android.systemui) Bug: 136562823 Change-Id: I8359e8c3ad9de89cd867f5ac147d62e22b9cf816
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions