Add USE_CUSTOM_VIRTUAL_MACHINE permission
A package should be granted USE_CUSTOM_VIRTUAL_MACHINE permission to
create a protected VM with a raw config.
Bug: 207769805
Test: atest MicrodroidHostTestCases
Change-Id: I222b110f0634c0e4658ed192099d4af6c5b3debe
diff --git a/javalib/AndroidManifest.xml b/javalib/AndroidManifest.xml
index 2a0b903..e68b5a4 100644
--- a/javalib/AndroidManifest.xml
+++ b/javalib/AndroidManifest.xml
@@ -20,6 +20,9 @@
<permission android:name="android.permission.MANAGE_VIRTUAL_MACHINE"
android:protectionLevel="signature|development" />
+ <permission android:name="android.permission.USE_CUSTOM_VIRTUAL_MACHINE"
+ android:protectionLevel="signature|development" />
+
<permission android:name="android.permission.DEBUG_VIRTUAL_MACHINE"
android:protectionLevel="signature" />