]> git.eshelyaron.com Git - emacs.git/commitdiff
Prevent closing Emacs frames upon locale changes
authorPo Lu <luangruo@yahoo.com>
Thu, 7 Dec 2023 05:26:41 +0000 (13:26 +0800)
committerPo Lu <luangruo@yahoo.com>
Thu, 7 Dec 2023 05:26:41 +0000 (13:26 +0800)
* java/AndroidManifest.xml.in: Express that Emacs can respond
to locale and fontScale changes.

java/AndroidManifest.xml.in

index 2749f43c245ed0a738db60bdbb57795c1be4aa3f..18afe945df69b14788e972aa385c6fea67578c76 100644 (file)
@@ -94,7 +94,7 @@ along with GNU Emacs.  If not, see <https://www.gnu.org/licenses/>. -->
              android:launchMode="singleInstance"
              android:windowSoftInputMode="adjustResize"
              android:exported="true"
-             android:configChanges="orientation|screenSize|screenLayout|keyboardHidden">
+             android:configChanges="orientation|screenSize|screenLayout|keyboardHidden|locale|fontScale">
       <intent-filter>
         <action android:name="android.intent.action.MAIN" />
         <category android:name="android.intent.category.DEFAULT" />
@@ -149,7 +149,7 @@ along with GNU Emacs.  If not, see <https://www.gnu.org/licenses/>. -->
     <activity android:name="org.gnu.emacs.EmacsMultitaskActivity"
              android:windowSoftInputMode="adjustResize"
              android:exported="true"
-             android:configChanges="orientation|screenSize|screenLayout|keyboardHidden"/>
+             android:configChanges="orientation|screenSize|screenLayout|keyboardHidden|locale|fontScale"/>
 
     <activity android:autoRemoveFromRecents="true"
               android:label="Emacs options"