diff options
| author | 2023-11-27 16:14:29 -0500 | |
|---|---|---|
| committer | 2023-12-26 13:56:39 -0500 | |
| commit | 24859057adc5f3bee512a6e33340030862b8d780 (patch) | |
| tree | 670700bf6a6a9efe005aa4434ceeae90557b8c7a /libs/androidfw/FileStream.cpp | |
| parent | 37727f65a14c76a74c2e99be18291bb5e069549f (diff) | |
Fix setPrivateNotificationsAllowed
1) Add an on-changed broadcast so the value takes effect immediately
2) initialize NotificationLockscreenUserManagerImpl earlier, before its
dependencies need it
3) Make the behavior match the name - it should redact notifications,
not hide them
Also made some small changes in NotificationManagerServiceTest to fix
test failures on -eng builds.
Test: NotificationLockscreenUserManagerTest
Test: NotificationManagerServiceTest
Test: view notification history
Test: test app that calls setPrivateNotificationsAllowed
Flag: aconfig android.app.keyguard_private_notifications
Bug: 309920145
Change-Id: If73c2cbf02c234261bbc84cc02e7ba6a5187be2e
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions