diff options
| author | Po Lu | 2023-03-04 15:55:09 +0800 |
|---|---|---|
| committer | Po Lu | 2023-03-04 15:55:09 +0800 |
| commit | 2634765bc382c27e2d11dc14174ca80d9cf41e15 (patch) | |
| tree | 3ef522e33fec01fbe0447dfc10306e6e58e17d8d /java/debug.sh | |
| parent | 39a7e6b79fdeafc539a36f6831d922a2622cb679 (diff) | |
| download | emacs-2634765bc382c27e2d11dc14174ca80d9cf41e15.tar.gz emacs-2634765bc382c27e2d11dc14174ca80d9cf41e15.zip | |
Improve context menus on old versions of Android
* java/org/gnu/emacs/EmacsActivity.java (EmacsActivity): New
field `lastClosedMenu'.
(onContextMenuClosed): Don't send event if a menu is closed
twice in a row. Also, clear wasSubmenuSelected immediately.
* java/org/gnu/emacs/EmacsContextMenu.java: Display submenus
manually in Android 6.0 and earlier.
* java/org/gnu/emacs/EmacsView.java (onCreateContextMenu)
(popupMenu): Adjust accordingly.
Diffstat (limited to 'java/debug.sh')
0 files changed, 0 insertions, 0 deletions