diff options
| author | Po Lu | 2023-07-16 20:10:18 +0800 |
|---|---|---|
| committer | Po Lu | 2023-07-16 20:10:18 +0800 |
| commit | 8335c76e88ec9aa44963a3261ce0ab0eb0555a29 (patch) | |
| tree | f50806de2dc2b06be1203bf5b5a1ef95b4dcbe66 /java | |
| parent | 64256d29234b0fc3012d07cb189ebeccc2dfc187 (diff) | |
| download | emacs-8335c76e88ec9aa44963a3261ce0ab0eb0555a29.tar.gz emacs-8335c76e88ec9aa44963a3261ce0ab0eb0555a29.zip | |
Update Android port
* java/org/gnu/emacs/EmacsService.java (displayToast):
* src/android.c (android_init_emacs_service): Remove unused
function.
* lisp/touch-screen.el (touch-screen-handle-point-up): Correctly
compute posn point.
(touch-screen-translate-touch): Update doc string.
(function-key-map): Define touch screen translation functions
within the internal border.
Diffstat (limited to 'java')
| -rw-r--r-- | java/org/gnu/emacs/EmacsService.java | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/java/org/gnu/emacs/EmacsService.java b/java/org/gnu/emacs/EmacsService.java index 22649167f8a..6240b0e475a 100644 --- a/java/org/gnu/emacs/EmacsService.java +++ b/java/org/gnu/emacs/EmacsService.java | |||
| @@ -1086,26 +1086,6 @@ public final class EmacsService extends Service | |||
| 1086 | temp, }; | 1086 | temp, }; |
| 1087 | } | 1087 | } |
| 1088 | 1088 | ||
| 1089 | /* Display the specified STRING in a small dialog box on the main | ||
| 1090 | thread. */ | ||
| 1091 | |||
| 1092 | public void | ||
| 1093 | displayToast (final String string) | ||
| 1094 | { | ||
| 1095 | runOnUiThread (new Runnable () { | ||
| 1096 | @Override | ||
| 1097 | public void | ||
| 1098 | run () | ||
| 1099 | { | ||
| 1100 | Toast toast; | ||
| 1101 | |||
| 1102 | toast = Toast.makeText (getApplicationContext (), | ||
| 1103 | string, Toast.LENGTH_SHORT); | ||
| 1104 | toast.show (); | ||
| 1105 | } | ||
| 1106 | }); | ||
| 1107 | } | ||
| 1108 | |||
| 1109 | public void | 1089 | public void |
| 1110 | updateExtractedText (EmacsWindow window, ExtractedText text, | 1090 | updateExtractedText (EmacsWindow window, ExtractedText text, |
| 1111 | int token) | 1091 | int token) |