mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-07 06:50:23 -08:00
Update Android port
* doc/lispref/os.texi (Desktop Notifications): Revise documentation for android-notifications-notify to reflect changes. * java/org/gnu/emacs/EmacsDesktopNotification.java (display1): Convert notification importance to a legacy priority between Android 7.1 and 4.1. * java/org/gnu/emacs/EmacsPixmap.java (EmacsPixmap): Remove immutable bitmap constructor, as the underlying Android API functions are erroneously implemented. * src/android.c (android_init_emacs_pixmap): Cease searching for deleted constructor. (android_create_pixmap_from_bitmap_data): Create a pixmap, then fill it with the contents of the bitmap, in lieu of employing the aforementioned constructor. * src/androidselect.c (Fandroid_notifications_notify): Revise doc string.
This commit is contained in:
parent
947409d408
commit
df5a9a78b5
5 changed files with 129 additions and 116 deletions
|
|
@ -660,12 +660,18 @@ keywords is understood:
|
|||
:icon The name of a drawable resource to display as the
|
||||
notification's icon.
|
||||
|
||||
The notification group and urgency are ignored on Android 7.1 and
|
||||
earlier versions of Android. Outside such older systems, it
|
||||
identifies a category that will be displayed in the system Settings
|
||||
menu. The urgency provided always extends to affect all notifications
|
||||
displayed within that category. If the group is not provided, it
|
||||
defaults to the string "Desktop Notifications".
|
||||
The notification group is ignored on Android 7.1 and earlier versions
|
||||
of Android. Outside such older systems, it identifies a category that
|
||||
will be displayed in the system Settings menu, and the urgency
|
||||
provided always extends to affect all notifications displayed within
|
||||
that category. If the group is not provided, it defaults to the
|
||||
string "Desktop Notifications".
|
||||
|
||||
Each caller should strive to provide one unchanging combination of
|
||||
notification group and urgency for each kind of notification it sends,
|
||||
inasmuch as the system may, subject to user configuration, disregard
|
||||
the urgency specified within a notification, should it not be the
|
||||
first notification sent to its notification group.
|
||||
|
||||
The provided icon should be the name of a "drawable resource" present
|
||||
within the "android.R.drawable" class designating an icon with a
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue