+19
−11
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
Previously if the current (primary) user didn't allow sensitive notifications to show all their info on the lockscreen, then notifications for managed profiles also wouldn't show their sensitive info despite the user intentionally allowing work profile notifications to be shown on the lock screen. Now, if a notification is sent to a managed/work profile, then we only use the work profile setting to redact the sensitive notification information on the lockscreen. For all other notifications, we additionally check the current user's redactivility setting. Test: atest NotificationLockscreenUserManagerTest Fixes: 143536631 Change-Id: I468ca0b68188a594ebf0b78ebcc3bc0bb93687ac