android: make MainActivity swallow all config changes

Compose will handle these
This commit is contained in:
Harsh Shandilya 2021-09-23 20:08:25 +05:30
parent ffcb270013
commit f1b56e27cd
No known key found for this signature in database
GPG key ID: 366D7BBAD1031E80

View file

@ -12,6 +12,7 @@
android:theme="@style/Theme.Claw"> android:theme="@style/Theme.Claw">
<activity <activity
android:name=".MainActivity" android:name=".MainActivity"
android:configChanges="colorMode|density|fontScale|keyboard|keyboardHidden|layoutDirection|locale|mcc|mnc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|touchscreen|uiMode"
android:exported="true"> android:exported="true">
<intent-filter> <intent-filter>
<action android:name="android.intent.action.MAIN" /> <action android:name="android.intent.action.MAIN" />