]> git.eshelyaron.com Git - emacs.git/commit
Adjust dump file location under Android
authorPo Lu <luangruo@yahoo.com>
Sun, 12 Nov 2023 03:44:58 +0000 (11:44 +0800)
committerPo Lu <luangruo@yahoo.com>
Sun, 12 Nov 2023 03:44:58 +0000 (11:44 +0800)
commite56e9c19545f43c35dec85fa650f3799c6e9c308
treed94351fc316ffbaca9ba0e82b29b65f51b1d8923
parentfff9b6e37aaf7da22cf803441b96f47ddd92a027
Adjust dump file location under Android

* java/org/gnu/emacs/EmacsApplication.java (EmacsApplication)
<apkFileName>: New field.
(getApkFile): Move from EmacsService.java.
(findDumpFile): If the dump file is older than the APK, delete
it irrespective of whether the checksums agree.
(onCreate): Initialize apkFileName.

* java/org/gnu/emacs/EmacsService.java (onCreate): Use
EmacsApplication.apkFileName.

* src/android.c (android_on_low_memory): Correct arguments to
Fclear_image_cache.

* src/image.c (Fclear_image_cache): Check that animation_cache
is always a cons.
java/org/gnu/emacs/EmacsApplication.java
java/org/gnu/emacs/EmacsService.java
src/android.c
src/image.c