summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Matt Gilbride <mattgilbride@google.com> 2024-11-13 16:34:03 +0000
committer Matt Gilbride <mattgilbride@google.com> 2024-11-13 22:23:13 +0000
commitf3a1ca0252945e285c7d7a263ffe86283ce85310 (patch)
tree1b5f915589aeca6dbcdf068f33c1ee2caef5c121
parent682eb039564d9651a7feb191cc526d422aae4ce5 (diff)
Add android.permission.DYNAMIC_INSTRUMENTATION
Change I1f2dc3780d1bd2a682c1fd3ec41e5c8d73e96fc2 introduced this permission to the core platform. Add the corresponding permission for permission CTS tests. Bug: 372925025 Test: TH Flag: com.android.art.flags.executable_method_file_offsets Change-Id: I699feac1fbbaca7bd3642bd32d1b6516b93ad5d8 LOW_COVERAGE_REASON=TEST_ONLY
-rw-r--r--tests/cts/permissionpolicy/res/raw/android_manifest.xml10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/cts/permissionpolicy/res/raw/android_manifest.xml b/tests/cts/permissionpolicy/res/raw/android_manifest.xml
index 6efe6b8bb..272035dd8 100644
--- a/tests/cts/permissionpolicy/res/raw/android_manifest.xml
+++ b/tests/cts/permissionpolicy/res/raw/android_manifest.xml
@@ -8405,6 +8405,16 @@
android:featureFlag="com.android.tradeinmode.flags.enable_trade_in_mode" />
<!-- @SystemApi
+ @FlaggedApi(com.android.art.flags.Flags.FLAG_EXECUTABLE_METHOD_FILE_OFFSETS)
+ Ability to read program metadata and attach dynamic instrumentation.
+ <p>Protection level: signature
+ @hide
+ -->
+ <permission android:name="android.permission.DYNAMIC_INSTRUMENTATION"
+ android:protectionLevel="signature"
+ android:featureFlag="com.android.art.flags.executable_method_file_offsets" />
+
+ <!-- @SystemApi
@FlaggedApi("android.media.tv.flags.kids_mode_tvdb_sharing")
This permission is required when accessing information related to
singleUser-ed TIS session.