diff options
| author | 2022-11-11 14:46:56 +0000 | |
|---|---|---|
| committer | 2022-11-15 21:46:22 +0000 | |
| commit | c3436bdd54f298ee47c98f95241c9b2c296a0569 (patch) | |
| tree | d96f6c2908728d8dcc524ced661405af4c52e00b /libs/androidfw/StringPool.cpp | |
| parent | ed19f58a1c255c3e626ce36c0b42f0bc5dfd4b96 (diff) | |
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
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions