diff options
| author | Po Lu | 2024-03-14 08:24:42 +0800 |
|---|---|---|
| committer | Po Lu | 2024-03-14 08:24:42 +0800 |
| commit | db5c8bda638468f8798c974f4ef4ab3905dbddd3 (patch) | |
| tree | 6345a59fd4b9f5aa952fdab0b5dc9bee03dedb62 /java | |
| parent | d95f2a882d5f0587a8e02c5be6f0fd005d4a6a43 (diff) | |
| download | emacs-db5c8bda638468f8798c974f4ef4ab3905dbddd3.tar.gz emacs-db5c8bda638468f8798c974f4ef4ab3905dbddd3.zip | |
; * java/org/gnu/emacs/EmacsDesktopNotification.java (display1): Another fix.
Diffstat (limited to 'java')
| -rw-r--r-- | java/org/gnu/emacs/EmacsDesktopNotification.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/java/org/gnu/emacs/EmacsDesktopNotification.java b/java/org/gnu/emacs/EmacsDesktopNotification.java index d072994df2b..c80aa21b4fe 100644 --- a/java/org/gnu/emacs/EmacsDesktopNotification.java +++ b/java/org/gnu/emacs/EmacsDesktopNotification.java | |||
| @@ -233,9 +233,10 @@ public final class EmacsDesktopNotification | |||
| 233 | { | 233 | { |
| 234 | builder.setPriority (priority); | 234 | builder.setPriority (priority); |
| 235 | insertActions (context, builder); | 235 | insertActions (context, builder); |
| 236 | notification = builder.build (); | ||
| 236 | } | 237 | } |
| 237 | 238 | else | |
| 238 | notification = builder.build (); | 239 | notification = builder.getNotification (); |
| 239 | 240 | ||
| 240 | if (Build.VERSION.SDK_INT > Build.VERSION_CODES.JELLY_BEAN) | 241 | if (Build.VERSION.SDK_INT > Build.VERSION_CODES.JELLY_BEAN) |
| 241 | notification.priority = priority; | 242 | notification.priority = priority; |