FerrochromeApp: Define and use action for launching VmLauncherApp
Using intent action is the standard to launch a foreign app.
Bug: 346676738
Test: Tested locally
Change-Id: I1a30a27c7e1aa12adaf14991af7d1d0fa5a6a0bc
diff --git a/vmlauncher_app/AndroidManifest.xml b/vmlauncher_app/AndroidManifest.xml
index 4f95086..bae3227 100644
--- a/vmlauncher_app/AndroidManifest.xml
+++ b/vmlauncher_app/AndroidManifest.xml
@@ -13,6 +13,11 @@
android:configChanges="orientation|screenSize|keyboard|keyboardHidden|navigation|uiMode"
android:theme="@style/MyTheme"
android:exported="true">
+ <intent-filter>
+ <action android:name="android.intent.action.MAIN" />
+ <action android:name="android.virtualization.VM_LAUNCHER" />
+ <category android:name="android.intent.category.DEFAULT" />
+ </intent-filter>
</activity>
<activity-alias android:name=".MainActivityAlias"
android:targetActivity="com.android.virtualization.vmlauncher.MainActivity"