diff options
author | Po Lu <luangruo@yahoo.com> | 2024-03-28 19:56:31 +0800 |
---|---|---|
committer | Po Lu <luangruo@yahoo.com> | 2024-03-29 08:26:48 +0800 |
commit | 755665d95adbba07335f400f1090e53b66c41ff5 (patch) | |
tree | 03dbc80da010992a04e52f7119338e28ba9bed36 /lisp/emacs-lisp/rmc.el | |
parent | 4cee95815b9d7d56f6f77abb1cc17e346c038685 (diff) | |
download | emacs-755665d95adbba07335f400f1090e53b66c41ff5.tar.gz emacs-755665d95adbba07335f400f1090e53b66c41ff5.tar.bz2 emacs-755665d95adbba07335f400f1090e53b66c41ff5.zip |
Prevent Android OS task trimming from deleting Emacs frames
* doc/emacs/android.texi (Android Windowing): Document proviso
on Android 7.0 and later.
* java/org/gnu/emacs/EmacsActivity.java (EmacsActivity)
<timeOfLastInteraction>: New field.
(onStop, onResume): Set and clear timeOfLastInteraction.
(isReallyFinishing): New function.
(onDestroy): Don't delete frame even in the event isFinishing
returns true if more than 4 hours have elapsed since the
activity last moved into the background.
Diffstat (limited to 'lisp/emacs-lisp/rmc.el')
0 files changed, 0 insertions, 0 deletions