summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Kangping Dong <wgtdkp@google.com> 2023-11-07 21:08:31 +0800
committer Kangping Dong <wgtdkp@google.com> 2023-11-07 21:15:10 +0800
commit808de3962d754690b3e9849c07ddb53a03a782cf (patch)
tree7c51bf99710c52136abfdb009bc371d872443fa7
parent3e870d3c58c8eb3badbeefce42278005de31391f (diff)
[Thread] add Thread permissions for CTS tests
The THREAD_NETWORK_PRIVILEGED permission is used and approved in aosp/2737373 Bug: 262683651 Change-Id: I662ee576a70e09f9e546aed71b72bbffa450afe2
-rw-r--r--tests/cts/permissionpolicy/res/raw/android_manifest.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/cts/permissionpolicy/res/raw/android_manifest.xml b/tests/cts/permissionpolicy/res/raw/android_manifest.xml
index ffa894ac9..fd26d6313 100644
--- a/tests/cts/permissionpolicy/res/raw/android_manifest.xml
+++ b/tests/cts/permissionpolicy/res/raw/android_manifest.xml
@@ -2169,6 +2169,13 @@
<permission android:name="android.permission.MANAGE_LOWPAN_INTERFACES"
android:protectionLevel="signature|privileged" />
+ <!-- @SystemApi @hide Allows changing Thread network state and access to Thread network
+ credentials such as Network Key and PSKc.
+ <p>Not for use by third-party applications.
+ @FlaggedApi("com.android.net.thread.flags.thread_enabled") -->
+ <permission android:name="android.permission.THREAD_NETWORK_PRIVILEGED"
+ android:protectionLevel="signature|privileged" />
+
<!-- #SystemApi @hide Allows an app to bypass Private DNS.
<p>Not for use by third-party applications.
TODO: publish as system API in next API release. -->