]> git.eshelyaron.com Git - emacs.git/commit
Update Android port
authorPo Lu <luangruo@yahoo.com>
Tue, 21 Feb 2023 07:28:06 +0000 (15:28 +0800)
committerPo Lu <luangruo@yahoo.com>
Tue, 21 Feb 2023 07:28:06 +0000 (15:28 +0800)
commit7aa4ffddd842e495d1ae388afff12075317ecb07
tree9ba8cb2c232665ee59113494f7e35eeb33ab8619
parentd197d7349121b972d50e37d66017567bf6cba652
Update Android port

* doc/emacs/android.texi (Android Startup): Document `content'
special directory.
* java/debug.sh (is_root): Improve /bin/tee detection.
* java/org/gnu/emacs/EmacsNative.java (EmacsNative): New
function `dup'.
* java/org/gnu/emacs/EmacsOpenActivity.java (EmacsOpenActivity)
(checkReadableOrCopy, onCreate): Create content directory names
when the file is not readable.
* java/org/gnu/emacs/EmacsService.java (EmacsService)
(openContentUri, checkContentUri): New functions.
* src/android.c (struct android_emacs_service): New methods.
(android_content_name_p, android_get_content_name)
(android_check_content_access): New function.
(android_fstatat, android_open): Implement opening content URIs.
(dup): Export to Java.
(android_init_emacs_service): Initialize new methods.
(android_faccessat): Implement content file names.
doc/emacs/android.texi
java/debug.sh
java/org/gnu/emacs/EmacsNative.java
java/org/gnu/emacs/EmacsOpenActivity.java
java/org/gnu/emacs/EmacsService.java
src/android.c