Add USE_CUSTOM_VIRTUAL_MACHINE permission to Shell

The permission allows a package to create a protected VM with custom
config. It's used by MicrodroidHostTestCases.

Bug: 207769805
Test: atest MicrodroidHostTestCases
Change-Id: If049d26c0ef97695098979c4a36fe1f7f607af5a
This commit is contained in:
Inseob Kim
2022-05-02 18:05:26 +09:00
parent 416502831f
commit 0052c6c370

View File

@@ -601,6 +601,7 @@
<!-- Permission required to run the `vm` tool which manages on-device virtual machines -->
<uses-permission android:name="android.permission.MANAGE_VIRTUAL_MACHINE" />
<uses-permission android:name="android.permission.USE_CUSTOM_VIRTUAL_MACHINE" />
<uses-permission android:name="android.permission.DEBUG_VIRTUAL_MACHINE" />
<!-- Permission required for CTS test - SettingsMultiPaneDeepLinkTest -->