Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 24859057 authored by Julia Reynolds's avatar Julia Reynolds
Browse files

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
parent 37727f65
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment