diff options
| author | Po Lu | 2023-03-08 15:04:49 +0800 |
|---|---|---|
| committer | Po Lu | 2023-03-08 15:04:49 +0800 |
| commit | bb55528c7b58c5f50336ed3f2ff9759559d78680 (patch) | |
| tree | 6a4422afb19dc4ac9644d62b12d2a8aaf145deb3 /doc | |
| parent | fdff5442a59fd2387c23e2be2658dafa39466891 (diff) | |
| download | emacs-bb55528c7b58c5f50336ed3f2ff9759559d78680.tar.gz emacs-bb55528c7b58c5f50336ed3f2ff9759559d78680.zip | |
Update Android port
* doc/emacs/android.texi (Android File System): Document what
`temp~unlinked' means in the temporary files directory.
* java/org/gnu/emacs/EmacsService.java (updateExtractedText):
New function.
* java/org/gnu/emacs/EmacsView.java (onCreateInputConnection):
Ask the input method nicely to not display the extracted text
UI.
* src/android.c (struct android_emacs_service): New method
`updateExtractedText'.
(android_hack_asset_fd_fallback): Improve naming convention.
Fix typo.
(android_init_emacs_service): Add new method.
(android_update_extracted_text): New function.
(android_open_asset): Fix typo.
* src/androidgui.h: Update prototypes.
* src/androidterm.c (struct android_get_extracted_text_context):
New field `flags'.
(android_get_extracted_text): Set flags on the frame's output
data.
(android_build_extracted_text): New function.
(getExtractedText): Move out class structures.
(android_update_selection): Send updates to extracted text if
the input method asked for them.
(android_reset_conversion): Clear extracted text flags.
* src/androidterm.h (struct android_output): New fields for
storing extracted text data.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/emacs/android.texi | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/emacs/android.texi b/doc/emacs/android.texi index d49e0754b0a..8e98b92314a 100644 --- a/doc/emacs/android.texi +++ b/doc/emacs/android.texi | |||
| @@ -205,6 +205,13 @@ other directories are not found at any fixed location, although the | |||
| 205 | app data directory is typically symlinked to | 205 | app data directory is typically symlinked to |
| 206 | @file{/data/data/org.gnu.emacs}. | 206 | @file{/data/data/org.gnu.emacs}. |
| 207 | 207 | ||
| 208 | @cindex temp~unlinked.NNNN files, Android | ||
| 209 | On Android devices running very old (2.6.29) versions of the Linux | ||
| 210 | kernel, Emacs needs to create files named starting with | ||
| 211 | @file{temp~unlinked} in the the temporary file directory in order to | ||
| 212 | read from asset files. Do not create files with such names yourself, | ||
| 213 | or they may be overwritten or removed. | ||
| 214 | |||
| 208 | @cindex file system limitations, Android 11 | 215 | @cindex file system limitations, Android 11 |
| 209 | On Android 11 and later, the Android system restricts applications | 216 | On Android 11 and later, the Android system restricts applications |
| 210 | from accessing files in the @file{/sdcard} directory using | 217 | from accessing files in the @file{/sdcard} directory using |