diff options
| author | Po Lu | 2023-08-21 09:36:52 +0800 |
|---|---|---|
| committer | Po Lu | 2023-08-21 09:36:52 +0800 |
| commit | b1e498ac8c067b265c5f3de778e0a2722f7948a6 (patch) | |
| tree | bee97091b8a44db86654aec71c2382336837276e /java/debug.sh | |
| parent | 652e45b70d82e6f615febe00553dbded80557845 (diff) | |
| download | emacs-b1e498ac8c067b265c5f3de778e0a2722f7948a6.tar.gz emacs-b1e498ac8c067b265c5f3de778e0a2722f7948a6.zip | |
Enable providing icons for Android desktop notifications
* doc/lispref/os.texi (Desktop Notifications)
<android-notifications-notify>: Mention the :icon parameter.
* java/org/gnu/emacs/EmacsDesktopNotification.java
(EmacsDesktopNotification) <icon>: New field.
(<init>): New argument ICON. Set this.icon to its value.
(display1): Use provided icon and always supply a pending intent
to open Emacs once the notification is clicked.
* java/res/layout/sdk8_notifications_view.xml
(sdk8_notifications_title, sdk8_notifications_content): Set
foreground color to #000000.
* src/androidselect.c (android_init_emacs_desktop_notification):
Update signature of <init>.
(android_locate_icon): New function.
(android_notifications_notify_1): New arg ICON.
(Fandroid_notifications_notify): New parameter icon.
(syms_of_androidselect): <QCicon>: New symbol.
Diffstat (limited to 'java/debug.sh')
0 files changed, 0 insertions, 0 deletions