dd0a173b8f
For now, microdroid_manager shuts down a VM instance when it fails to verify the VM payload. This change adds a new "error" notification to deliver the error to the VM app. Fow now this doesn't change the workflow. In a follow-up change this will be changed so that VM app can decide to shutdown or not "onError". Bug: 205778374 Test: MicrodroidHostTestCases Change-Id: If7fdac3996b69601be0eda17da3e4cf218b4d1d8 |
||
---|---|---|
.. | ||
assets | ||
java/com/android/microdroid/demo | ||
res | ||
Android.bp | ||
AndroidManifest.xml | ||
README.md |
README.md
Microdroid demo app
Building
TARGET_BUILD_APPS=MicrodroidDemoApp m apps_only dist
Installing
adb install out/dist/MicrodroidDemoApp.apk
adb shell pm grant com.android.microdroid.demo android.permission.MANAGE_VIRTUAL_MACHINE
Running
Run the app by touching the icon on the launcher. Press the run
button to
start a VM. You can see console output from the VM on the screen. You can stop
the VM by pressing the stop
button.