Enable DynamicPrivacy whenever notifications are visible.
The old logic here was that dynamic privacy would only be tracked when the user-wide setting for "hide sensitive" was active, but because individual notification channels can always be redacted, this meant that face auth (since bypass is the most visible use of this class) would not reveal individually redacted notifications on devices that otherwise did not redact.
Fixes: 234757752
Test: atest DynamicPrivacyControllerTest
Change-Id: If286f3453031135a828340a32e2221028d456b47
2 files changed