]> git.eshelyaron.com Git - emacs.git/commit
Make miscellaneous improvements to the Android port
authorPo Lu <luangruo@yahoo.com>
Sat, 10 Feb 2024 07:02:39 +0000 (15:02 +0800)
committerEshel Yaron <me@eshelyaron.com>
Sat, 10 Feb 2024 08:42:53 +0000 (09:42 +0100)
commitbbdb2673ba8ad365ecc5f4e53a98bb47500c3fb8
treea45fbb518e805b213b9a7f80543f269a51f3699d
parente25f6de7da8094bcbcc4d8ed2b55c0ebf1e6958e
Make miscellaneous improvements to the Android port

* java/org/gnu/emacs/EmacsActivity.java (onCreate): Deal with
omitted calls to onWindowFocusChanged after activity recreation.

* java/org/gnu/emacs/EmacsService.java (clearWindow, clearArea):
Delete redundant wrapper functions.
(getUsefulContentResolver, getContentResolverContext): Delete
functions.
(openContentUri, checkContentUri): Stop searching for an
activity content resolver, as that's actually not necessary.

* src/android.c (android_init_emacs_service)
(android_init_emacs_window, android_clear_window)
(android_clear_area): Adjust to match.

(cherry picked from commit e7d1b12878ed83ad8c6995d8443f3367750ff0c9)
java/org/gnu/emacs/EmacsActivity.java
java/org/gnu/emacs/EmacsService.java
src/android.c