emacs/java/org/gnu/emacs
Po Lu 4f714dc081 Support desktop notifications on Android
* doc/emacs/android.texi (Android Environment): Correct list of
permissions granted by default.

* doc/lispref/os.texi (Desktop Notifications): Document the new
function `android-notifications-notify' and its limitations.

* java/AndroidManifest.xml.in: Request notification permissions.

* java/org/gnu/emacs/EmacsDesktopNotification.java: New file.

* java/res/layout/sdk8_notifications_view.xml: New file holding
substitute notification widget definitions for Android versions
prior to 3.0.

* java/res/values/strings.xml: Remove inadvertently introduced
tag attribute.

* lisp/org/org-clock.el (haiku-notifications-notify): Correct
file name in function declaration.
(android-notifications-notify): New declaration.
(org-show-notification): Use `android-notifications-notify'.

* src/androidselect.c (android_init_emacs_desktop_notification)
(android_notifications_notify_1, Fandroid_notifications_notify):
New functions.
(init_androidselect, syms_of_androidselect): Initialize new
class and define new subr.
2023-08-20 20:25:53 +08:00
..
EmacsActivity.java
EmacsApplication.java
EmacsClipboard.java
EmacsContextMenu.java
EmacsCursor.java
EmacsDesktopNotification.java Support desktop notifications on Android 2023-08-20 20:25:53 +08:00
EmacsDialog.java Fix potential NULL pointer dereference 2023-08-17 08:25:40 +08:00
EmacsDialogButtonLayout.java
EmacsDirectoryEntry.java
EmacsDocumentsProvider.java
EmacsDrawable.java
EmacsDrawLine.java
EmacsDrawPoint.java
EmacsDrawRectangle.java
EmacsFillPolygon.java
EmacsFillRectangle.java
EmacsFontDriver.java
EmacsGC.java
EmacsHandleObject.java
EmacsHolder.java
EmacsInputConnection.java
EmacsLauncherPreferencesActivity.java
EmacsMultitaskActivity.java
EmacsNative.java
EmacsNoninteractive.java
EmacsOpenActivity.java
EmacsPixmap.java
EmacsPreferencesActivity.java
EmacsSafThread.java
EmacsSdk7FontDriver.java
EmacsSdk8Clipboard.java
EmacsSdk11Clipboard.java
EmacsSdk23FontDriver.java
EmacsService.java
EmacsSurfaceView.java
EmacsThread.java
EmacsView.java
EmacsWindow.java
EmacsWindowAttachmentManager.java