Skip to content
Commit c3436bdd authored by Matt Casey's avatar Matt Casey
Browse files

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
parent ed19f58a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment