aboutsummaryrefslogtreecommitdiff
path: root/app/src/main
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2021-11-18 17:38:41 -0800
committerAllan Wang <me@allanwang.ca>2021-11-18 17:38:41 -0800
commitcc17381e78caabbd8920741c4d1b41a79f319173 (patch)
tree0ccc8a875cf23a34427aae538f65587eb6a57300 /app/src/main
parent59e567369dfe9ea8df3b1ed39520bda7e3c027d9 (diff)
downloadfrost-cc17381e78caabbd8920741c4d1b41a79f319173.tar.gz
frost-cc17381e78caabbd8920741c4d1b41a79f319173.tar.bz2
frost-cc17381e78caabbd8920741c4d1b41a79f319173.zip
Add more config changes to avoid unwanted ui refreshes
Diffstat (limited to 'app/src/main')
-rw-r--r--app/src/main/AndroidManifest.xml17
1 files changed, 12 insertions, 5 deletions
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
index dfdc9706..5485ac15 100644
--- a/app/src/main/AndroidManifest.xml
+++ b/app/src/main/AndroidManifest.xml
@@ -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"