]> git.eshelyaron.com Git - emacs.git/commit
Implement notification residency on Android
authorPo Lu <luangruo@yahoo.com>
Tue, 12 Mar 2024 01:48:53 +0000 (09:48 +0800)
committerEshel Yaron <me@eshelyaron.com>
Fri, 15 Mar 2024 08:58:05 +0000 (09:58 +0100)
commit323f3f878cb3b7bad282fc31d41c7c05977b535d
treefffa16fbfd8f3e2b84ab051f2e5f475a6fab7a0c
parent5c6dd86178d0923577ced09d962a9d872a6aa40c
Implement notification residency on Android

* doc/lispref/os.texi (Desktop Notifications): Document support
for `:resident'.

* java/org/gnu/emacs/EmacsService.java (cancelNotification):

* src/android.c (android_init_emacs_service):

* src/android.h (struct android_emacs_service): New function.

* src/androidselect.c (android_notifications_notify_1)
(Fandroid_notifications_notify): New parameter QCresident; save
it within notification lists.
(android_notification_deleted, android_notification_action):
Adjust for changes to the format of notification lists and
cancel non-resident notifications when an action is selected.
(syms_of_androidselect): <QCresident>: New symbol.

(cherry picked from commit d7ded996082503ca00546c220c7ce8d96e16b76a)
doc/lispref/os.texi
java/org/gnu/emacs/EmacsService.java
src/android.c
src/android.h
src/androidselect.c