From: Po Lu Date: Sun, 5 Mar 2023 07:55:24 +0000 (+0800) Subject: Update Android port X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=26b3b8433d933c9f8b26b83ca96ac1bb47711907;p=emacs.git Update Android port * java/org/gnu/emacs/EmacsOpenActivity.java (onCreate): Don't set the style here. * java/res/values-v11/style.xml: * java/res/values-v14/style.xml: * java/res/values-v29/style.xml: * java/res/values/style.xml: Define styles for the emacsclient wrapper. * src/keyboard.c (read_key_sequence): Don't disable text conversion if use_mouse_menu or if a menu bar prefix key is being displayed. --- diff --git a/java/org/gnu/emacs/EmacsOpenActivity.java b/java/org/gnu/emacs/EmacsOpenActivity.java index fddd5331d2f..ac643ae8a13 100644 --- a/java/org/gnu/emacs/EmacsOpenActivity.java +++ b/java/org/gnu/emacs/EmacsOpenActivity.java @@ -380,11 +380,6 @@ public final class EmacsOpenActivity extends Activity return; } - /* Set an appropriate theme. */ - - if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.ICE_CREAM_SANDWICH) - setTheme (android.R.style.Theme_DeviceDefault); - /* Now see if the action specified is supported by Emacs. */ if (action.equals ("android.intent.action.VIEW") diff --git a/java/res/values-v11/style.xml b/java/res/values-v11/style.xml index 50cf96e8bc5..b114758bf0d 100644 --- a/java/res/values-v11/style.xml +++ b/java/res/values-v11/style.xml @@ -20,4 +20,5 @@ along with GNU Emacs. If not, see . --> +