Disable screenshot actions for work profile.
Additional work will be needed to ensure intent launching works properly
for these, defering that to post-launch.
Behavior changes all protected by the flag SCREENSHOT_WORK_PROFILE_POLICY
but had to move the smartActionsEnabled computation to be passed around instead
of an instance variable (so it could honor the new constraint).
Bug: 258706103
Test: Validate that actions work in personal profile but not work
profile
Test: atest ScreenshotNotificationSmartActionsTest
Change-Id: I08b6c50f98cdf38287b6dadb9dde563f57af5dc2
2 files changed