Add microdroid demo app
Add a demo app showing how an app can start a VM.
Bug: N/A
Test: TARGET_BUILD_APPS=MicrodroidDemoApp m apps_only dist
adb install out/dist/MicrodroidDemoApp.apk
adb push out/dist/MicrodroidDemoApp.apk.idsig /data/local/tmp/virt/
adb root
adb shell start virtualizationservice
<then launch the app>
Change-Id: If46b2f8910b98b2b29ca0c629e1f7eacc01a477a
diff --git a/demo/assets/vm_config.json b/demo/assets/vm_config.json
new file mode 100644
index 0000000..b814394
--- /dev/null
+++ b/demo/assets/vm_config.json
@@ -0,0 +1,13 @@
+{
+ "os": {
+ "name": "microdroid"
+ },
+ "task": {
+ "type": "microdroid_launcher",
+ "command": "MicrodroidTestNativeLib.so",
+ "args": [
+ "hello",
+ "microdroid"
+ ]
+ }
+}