1
0
mirror of https://github.com/AllanWang/Frost-for-Facebook.git synced 2024-11-08 20:12:39 +01:00

Add more config changes to avoid unwanted ui refreshes

This commit is contained in:
Allan Wang 2021-11-18 17:38:41 -08:00
parent 59e567369d
commit cc17381e78
No known key found for this signature in database
GPG Key ID: C93E3F9C679D7A56

View File

@ -39,28 +39,35 @@
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<!--
Config changes taken from Fenix with:
locale
addition
https://github.com/mozilla-mobile/fenix/blob/main/app/src/main/AndroidManifest.xml
-->
<activity
android:name=".activities.MainActivity"
android:configChanges="orientation|screenSize|locale"
android:configChanges="keyboard|keyboardHidden|mcc|mnc|orientation|screenSize|layoutDirection|smallestScreenSize|screenLayout|locale"
android:hardwareAccelerated="true"
android:label="@string/frost_name" />
<activity
android:name=".activities.WebOverlayActivity"
android:configChanges="orientation|screenSize|locale"
android:configChanges="keyboard|keyboardHidden|mcc|mnc|orientation|screenSize|layoutDirection|smallestScreenSize|screenLayout|locale"
android:hardwareAccelerated="true"
android:label="@string/frost_name"
android:launchMode="singleTop"
android:theme="@style/FrostTheme.Overlay.Slide" />
<activity
android:name=".activities.WebOverlayDesktopActivity"
android:configChanges="orientation|screenSize|locale"
android:configChanges="keyboard|keyboardHidden|mcc|mnc|orientation|screenSize|layoutDirection|smallestScreenSize|screenLayout|locale"
android:hardwareAccelerated="true"
android:label="@string/frost_web"
android:launchMode="singleTop"
android:theme="@style/FrostTheme.Overlay.Slide" />
<activity
android:name=".activities.WebOverlayMobileActivity"
android:configChanges="orientation|screenSize|locale"
android:configChanges="keyboard|keyboardHidden|mcc|mnc|orientation|screenSize|layoutDirection|smallestScreenSize|screenLayout|locale"
android:hardwareAccelerated="true"
android:label="@string/frost_web"
android:launchMode="singleTop"
@ -68,7 +75,7 @@
<activity
android:name=".activities.FrostWebActivity"
android:autoRemoveFromRecents="true"
android:configChanges="orientation|screenSize|locale"
android:configChanges="keyboard|keyboardHidden|mcc|mnc|orientation|screenSize|layoutDirection|smallestScreenSize|screenLayout|locale"
android:exported="true"
android:hardwareAccelerated="true"
android:label="@string/frost_web"