summaryrefslogtreecommitdiff
path: root/PermissionController
diff options
context:
space:
mode:
author Richard MacGregor <rmacgregor@google.com> 2025-02-14 14:14:33 -0800
committer Android (Google) Code Review <android-gerrit@google.com> 2025-02-14 14:14:33 -0800
commita804514dbf49307696930bb4bc0d405bd8abdfae (patch)
tree90e542da3cd24adf1e80c1483cebf37d6514b477 /PermissionController
parenta6adf8364d30aa70b8a10885be144861d5c48770 (diff)
parent794444f8ba63f44a10447e1c6d74d4b4c791d45b (diff)
Merge "Document exclusive and exclusivity in PermissionController's Role.md" into main
Diffstat (limited to 'PermissionController')
-rw-r--r--PermissionController/src/com/android/permissioncontroller/role/Role.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/PermissionController/src/com/android/permissioncontroller/role/Role.md b/PermissionController/src/com/android/permissioncontroller/role/Role.md
index 255214495..8d995d557 100644
--- a/PermissionController/src/com/android/permissioncontroller/role/Role.md
+++ b/PermissionController/src/com/android/permissioncontroller/role/Role.md
@@ -56,6 +56,13 @@ receive short text messages, photos, videos, and more". For default apps, this s
the default app detail page as a footer. This attribute is required if the role is `visible`.
- `exclusive`: Whether the role is exclusive. If a role is exclusive, at most one application is
allowed to be its holder.
+- `exclusivity`: Whether the role is exclusive and what type of exclusivity behavior it has. A role
+can have exclusivity of `none`, `user`, or `profileGroup`.
+ - `none`: Role allows multiple holders
+ - `user`: Role allows at most one holder within each user
+ - `profileGroup`: (SDK 36+ only, fallsback to `user` on lower SDK) Role allows at most one holder
+within a profile group (e.g. full user and work
+profile)
- `fallBackToDefaultHolder`: Whether the role should fall back to the default holder. This attribute
is optional and defaults to `false`.
- `featureFlag`: Optional feature flag for the role be available, as the fully qualified name of