Update projection exemption calculation

Optimize isSensitiveStateActive by consolidating all exemption
calculations to where start of projection is updated

Add RECORD_SENSITIVE_CONTENT exemption to notification hiding

Bug: 323396693
Bug: 329272737
Test: atest SensitiveNotificationProtectionControllerTest
Flag: ACONFIG com.android.server.notification.screenshare_notification_hiding TRUNK_STAGING
Change-Id: Ib92c75ff0041fa42378d4fc6d9f7fa8e76e80920
3 files changed