1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-18 17:01:01 -08:00

Work around one Android bug and document another

* etc/PROBLEMS (Runtime problems specific to Android): Document
deficiency of "Android Keyboard (AOSP)."

* java/org/gnu/emacs/EmacsView.java (showOnScreenKeyboard):
Revert yesterday's change.

* java/org/gnu/emacs/EmacsWindow.java (toggleOnScreenKeyboard):
Sync with the UI thread after displaying the on-screen keyboard.
This commit is contained in:
Po Lu 2024-05-23 17:46:48 +08:00
parent 64cced2c37
commit e96e4906c8
3 changed files with 37 additions and 13 deletions

View file

@ -777,15 +777,6 @@ public final class EmacsView extends ViewGroup
imManager.showSoftInput (this, 0);
isCurrentlyTextEditor = true;
/* The OS text editing widget unconditionally reports the current
values of the selection to the input method after calls to
showSoftInput, which is redundant if inputConnection exists but
is now relied upon in such circumstances by the OS's default
input method, and must therefore be faithfully reproduced on our
part. */
if (inputConnection != null)
EmacsNative.requestSelectionUpdate (window.handle);
}
public void