summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/RenderScriptCacheDir.java
diff options
context:
space:
mode:
authorAlex Kershaw <alexkershaw@google.com>2020-01-09 11:33:56 +0000
committerAlex Kershaw <alexkershaw@google.com>2020-01-14 19:18:06 +0000
commit6fb8a02bbe54609925cad5d1c8282c278ac488a7 (patch)
tree656605d9b6be38c84fabdc7c56263d2cd065beb4 /rs/java/android/renderscript/RenderScriptCacheDir.java
parent9d7d82645ab7f8e731f7ac8bd5db29f44ba0606f (diff)
Support setting the _PROFILES app-op
Add public broadcast CrossProfileApps#ACTION_CAN_INTERACT_ACROSS_PROFILES_CHANGED = "android.content.pm.action.CAN_INTERACT_ACROSS_PROFILES_CHANGED" and hidden API CrossProfile#setInteractAcrossProfilesAppOp. This new hidden API should be used rather than setting the app-op directly. It ensures that the app-op is set for each user in the profile group and that the new broadcast is sent when an app's ability to interact across profiles has changed. Unit tests are added alongside these changes. CTSVerifier changes should be subsequently added to enforce the behaviour of the new public broadcast. Test: atest frameworks/base/services/robotests/src/com/android/server/pm/CrossProfileAppsServiceImplRoboTest.java --verbose BUG: 136249261 BUG: 147490565 Change-Id: Iad190a4b972da40bae7ffcf215b8962e8225f4af
Diffstat (limited to 'rs/java/android/renderscript/RenderScriptCacheDir.java')
0 files changed, 0 insertions, 0 deletions