summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/RenderScriptCacheDir.java
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2021-03-11 15:27:00 -0700
committerJeff Sharkey <jsharkey@android.com>2021-03-16 14:29:59 -0600
commitea48e8e8b09ae9edab366b34fc78285aa6fe4aa7 (patch)
tree1a276fa9500710e7dffff6f62074ddd32e10260e /rs/java/android/renderscript/RenderScriptCacheDir.java
parentb938d78c8fea935122a9e2983e59379b22f05c13 (diff)
Add flags to <uses-permission> manifest tags.
As part of an upcoming feature, developers will need the ability to clearly communicate that they'll never use a permission derive the physical location of the device, regardless of ACCESS_FINE_LOCATION and/or ACCESS_COARSE_LOCATION being granted. The first use of this is the BLUETOOTH permission, but developers may need to communicate this for other permissions such as READ_PHONE_STATE, etc. This change begins parsing this developer declaration as one of multiple "usesPermissionFlags", which are then stored in a new ParsedUsesPermission object. To minimize refactoring, we continue to offer this data through the older String-based APIs. Bug: 181812281 Test: atest FrameworksServicesTests:PackageParserTest Test: atest com.android.server.pm.parsing Test: atest -p core/java/android/content/pm \ core/java/com/android/internal/content \ services/core/java/com/android/server/pm \ services/tests/servicestests/src/com/android/server/pm Change-Id: I2ccda05cf416653d311151591f91ae55a729e05b
Diffstat (limited to 'rs/java/android/renderscript/RenderScriptCacheDir.java')
0 files changed, 0 insertions, 0 deletions