summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Christine Franks <christyfranks@google.com> 2021-03-23 20:25:06 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2021-03-23 20:25:06 +0000
commit592b9daa1c5178d9b41c1a6f3ca615e1bfc04209 (patch)
treeb0d021323101ff7381c29f4afe789017201229c2
parentcf55fa2ead05953d9f83787d2f190b3d43f6d623 (diff)
parent3dfad4132ed5e7a46363d666a694be8757111f0b (diff)
Merge "Create VIRTUAL_INPUT_DEVICE signature permission" into sc-dev
-rw-r--r--core/res/AndroidManifest.xml6
-rw-r--r--data/etc/platform.xml4
2 files changed, 10 insertions, 0 deletions
diff --git a/core/res/AndroidManifest.xml b/core/res/AndroidManifest.xml
index 5aaf1fcafe1b..8a471350bb36 100644
--- a/core/res/AndroidManifest.xml
+++ b/core/res/AndroidManifest.xml
@@ -1987,6 +1987,12 @@
<permission android:name="android.permission.BLUETOOTH_STACK"
android:protectionLevel="signature" />
+ <!-- Allows uhid write access for creating virtual input devices
+ @hide
+ -->
+ <permission android:name="android.permission.VIRTUAL_INPUT_DEVICE"
+ android:protectionLevel="signature" />
+
<!-- Allows applications to perform I/O operations over NFC.
<p>Protection level: normal
-->
diff --git a/data/etc/platform.xml b/data/etc/platform.xml
index 8da4a37e44cd..321339073c0b 100644
--- a/data/etc/platform.xml
+++ b/data/etc/platform.xml
@@ -48,6 +48,10 @@
<group gid="uhid" />
</permission>
+ <permission name="android.permission.VIRTUAL_INPUT_DEVICE" >
+ <group gid="uhid" />
+ </permission>
+
<permission name="android.permission.NET_TUNNELING" >
<group gid="vpn" />
</permission>