diff options
| author | Po Lu | 2024-04-11 09:11:44 +0800 |
|---|---|---|
| committer | Po Lu | 2024-04-11 09:16:57 +0800 |
| commit | 7720c614afcf2b657c1edd1901cdc688e372a53c (patch) | |
| tree | a70420f8092f187e4380020898886aa5f8d39c8f /java | |
| parent | 2733329b46a4687ef9e3d260cb776391ded47f52 (diff) | |
| download | emacs-7720c614afcf2b657c1edd1901cdc688e372a53c.tar.gz emacs-7720c614afcf2b657c1edd1901cdc688e372a53c.zip | |
Adjust priority of Emacs background service notification
* java/org/gnu/emacs/EmacsService.java (onStartCommand): Reword
lightly and set importance to IMPORTANCE_LOW.
Diffstat (limited to 'java')
| -rw-r--r-- | java/org/gnu/emacs/EmacsService.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/java/org/gnu/emacs/EmacsService.java b/java/org/gnu/emacs/EmacsService.java index 052793eabaf..b8ff98e79a7 100644 --- a/java/org/gnu/emacs/EmacsService.java +++ b/java/org/gnu/emacs/EmacsService.java | |||
| @@ -182,11 +182,11 @@ public final class EmacsService extends Service | |||
| 182 | manager = (NotificationManager) tem; | 182 | manager = (NotificationManager) tem; |
| 183 | infoBlurb = ("This notification is displayed to keep Emacs" | 183 | infoBlurb = ("This notification is displayed to keep Emacs" |
| 184 | + " running while it is in the background. You" | 184 | + " running while it is in the background. You" |
| 185 | + " may disable it if you want;" | 185 | + " may disable it if you wish;" |
| 186 | + " see (emacs)Android Environment."); | 186 | + " see (emacs)Android Environment."); |
| 187 | channel | 187 | channel |
| 188 | = new NotificationChannel ("emacs", "Emacs Background Service", | 188 | = new NotificationChannel ("emacs", "Emacs Background Service", |
| 189 | NotificationManager.IMPORTANCE_DEFAULT); | 189 | NotificationManager.IMPORTANCE_LOW); |
| 190 | manager.createNotificationChannel (channel); | 190 | manager.createNotificationChannel (channel); |
| 191 | notification = (new Notification.Builder (this, "emacs") | 191 | notification = (new Notification.Builder (this, "emacs") |
| 192 | .setContentTitle ("Emacs") | 192 | .setContentTitle ("Emacs") |