summaryrefslogtreecommitdiff
path: root/tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
diff options
context:
space:
mode:
authorSteve Elliott <steell@google.com>2021-10-21 17:19:34 -0400
committerJeff DeCew <jeffdq@google.com>2021-10-30 21:49:06 -0400
commit9a4112bfbb08d08baf73f4e99a834eeb06f7a86b (patch)
tree7c05a65a38a35948ea00cf514850380152585bbd /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
parent91da8a29767ef992f93ee1b96dfc7fec4f4d9ab4 (diff)
Add sensitive content redaction to notif pipeline
This incorporates two behaviors originally handled by the NotificationViewHierarchyManager: 1. A change in DynamicPrivacy would trigger NotificationViewHierarchyManager#updateNotificationViews 2. The aformentioned #updateNotificationViews method was responsible for setting the redaction state on each NotificationEntry A new Coordinator is introduced to the NotifPipeline to handle both of these behaviors. (1) is handled by attaching a new Invalidator that will request a notif list rebuild when dynamic privacy changes. (2) is handled by processing each ListEntry in an OnPreRenderListListener, and setting the redaction state on each NotificationEntry. Fixes: 204127880 Test: manual - turn on setting to hide sensitive notification content on the lockscreen, lock phone, turn screen back on, observe notifications on lock screen Bug: 200025730 Merged-In: I57b4d68f440ea50f13f6da4676144400f875ea8c Change-Id: I57b4d68f440ea50f13f6da4676144400f875ea8c
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions