diff options
author | Beverly <beverlyt@google.com> | 2020-04-21 16:26:47 -0400 |
---|---|---|
committer | Beverly <beverlyt@google.com> | 2020-04-27 09:30:40 -0400 |
commit | 11976b6401d935cce2ac9e1652fcf4f95682b904 (patch) | |
tree | 78bd00629fe3d5e1ed5ed5d1988c1bb2282ee08a /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 3b145e0b19f82ecf3f31b7702f8915308002bafe (diff) |
Separate managed/primary profile sensitive notifs
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions