aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2021-11-19 11:35:35 -0800
committerGitHub <noreply@github.com>2021-11-19 11:35:35 -0800
commita3f58cda87a9912d12c9c3c70f20389bec0520af (patch)
tree0ccc8a875cf23a34427aae538f65587eb6a57300
parent59e567369dfe9ea8df3b1ed39520bda7e3c027d9 (diff)
parentcc17381e78caabbd8920741c4d1b41a79f319173 (diff)
downloadfrost-a3f58cda87a9912d12c9c3c70f20389bec0520af.tar.gz
frost-a3f58cda87a9912d12c9c3c70f20389bec0520af.tar.bz2
frost-a3f58cda87a9912d12c9c3c70f20389bec0520af.zip
Merge pull request #1853 from AllanWang/manifest-configs
-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"