diff options
author | 2025-02-19 10:29:06 -0800 | |
---|---|---|
committer | 2025-02-19 12:12:48 -0800 | |
commit | 4cf91157062a09d26e05ed7b1d39448afb67c747 (patch) | |
tree | e38abf6492a6cc62f3ed630687b48b48ab7c0ff6 | |
parent | c7e3a78bba9c65ed6659154d9b07e3fbe8012435 (diff) |
Fix exclusivity deprecation documentation.
`exclusivity` is deprecated and `exclusivity` should be used instead. Also, fix a typo.
LOW_COVERAGE_REASON=NON_CODE_ONLY
Bug: 394842195
Flag: DOCS_ONLY
Relnote: N/A
Change-Id: Ia0881bd1c574be967c6e6a94e34dcb24fd47d558
-rw-r--r-- | PermissionController/src/com/android/permissioncontroller/role/Role.md | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/PermissionController/src/com/android/permissioncontroller/role/Role.md b/PermissionController/src/com/android/permissioncontroller/role/Role.md index 8d995d557..29a184190 100644 --- a/PermissionController/src/com/android/permissioncontroller/role/Role.md +++ b/PermissionController/src/com/android/permissioncontroller/role/Role.md @@ -55,14 +55,13 @@ apps, separated by a colon (`:`) with the package name, for instance receive short text messages, photos, videos, and more". For default apps, this string will appear in 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. +allowed to be its holder. This attribute is being deprecated and `exclusivity` should be used. - `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) + - `profileGroup`: (SDK 36+ only, falls back 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 |