diff --git a/lisp/org-clock.el b/lisp/org-clock.el index 3f534483b..da40a4e04 100644 --- a/lisp/org-clock.el +++ b/lisp/org-clock.el @@ -51,7 +51,8 @@ (declare-function org-dynamic-block-define "org" (type func)) (declare-function w32-notification-notify "w32fns.c" (&rest params)) (declare-function w32-notification-close "w32fns.c" (&rest params)) -(declare-function haiku-notifications-notify "haikufns.c") +(declare-function haiku-notifications-notify "haikuselect.c") +(declare-function android-notifications-notify "androidselect.c") (defvar org-frame-title-format-backup nil) (defvar org-state) @@ -861,6 +862,13 @@ use libnotify if available, or fall back on a message." (haiku-notifications-notify :title "Org mode message" :body notification :urgency 'low)) + ((fboundp 'android-notifications-notify) + ;; N.B. timeouts are not available under Haiku or Android. + (android-notifications-notify :title "Org mode message" + :body notification + ;; Low urgency notifications + ;; are by default hidden. + :urgency 'normal)) ((fboundp 'w32-notification-notify) (let ((id (w32-notification-notify :title "Org mode message"