Terminal app doesn't need to support only landscape
and add configChanges to prevent from reloading the web view
Bug: 357827587
Test: rotate the screen
Change-Id: I959cfba3b55e9d0c84a7ec2140fa93a16e13e251
diff --git a/android/TerminalApp/AndroidManifest.xml b/android/TerminalApp/AndroidManifest.xml
index ed9527c..d92aa8b 100644
--- a/android/TerminalApp/AndroidManifest.xml
+++ b/android/TerminalApp/AndroidManifest.xml
@@ -9,8 +9,7 @@
android:label="VmTerminalApp"
android:usesCleartextTraffic="true">
<activity android:name=".MainActivity"
- android:screenOrientation="landscape"
- android:configChanges="orientation|screenSize|keyboard|keyboardHidden|navigation|uiMode"
+ android:configChanges="orientation|screenSize|keyboard|keyboardHidden|navigation|uiMode|screenLayout|smallestScreenSize"
android:exported="true">
<intent-filter>
<action android:name="android.virtualization.VM_TERMINAL" />