Răsfoiți Sursa

Add more configChanges to Android Manifest (#11145)

The addition of layoutDirection is required to prevent the forced restart due to a locale change. Also adding grammaticalGender, fontWeightAdjustment & fontScale for good measure.
Anthony 10 luni în urmă
părinte
comite
bf351b0b0e
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      android-project/app/src/main/AndroidManifest.xml

+ 1 - 1
android-project/app/src/main/AndroidManifest.xml

@@ -78,7 +78,7 @@
             android:label="@string/app_name"
             android:alwaysRetainTaskState="true"
             android:launchMode="singleInstance"
-            android:configChanges="layoutDirection|locale|orientation|uiMode|screenLayout|screenSize|smallestScreenSize|keyboard|keyboardHidden|navigation"
+            android:configChanges="layoutDirection|locale|grammaticalGender|fontScale|fontWeightAdjustment|orientation|uiMode|screenLayout|screenSize|smallestScreenSize|keyboard|keyboardHidden|navigation"
             android:preferMinimalPostProcessing="true"
             android:exported="true"
             >