]> git.eshelyaron.com Git - emacs.git/commitdiff
Adjust priority of Emacs background service notification
authorPo Lu <luangruo@yahoo.com>
Thu, 11 Apr 2024 01:11:44 +0000 (09:11 +0800)
committerEshel Yaron <me@eshelyaron.com>
Sun, 14 Apr 2024 16:55:08 +0000 (18:55 +0200)
* java/org/gnu/emacs/EmacsService.java (onStartCommand): Reword
lightly and set importance to IMPORTANCE_LOW.

(cherry picked from commit 7720c614afcf2b657c1edd1901cdc688e372a53c)

java/org/gnu/emacs/EmacsService.java

index 052793eabaf7aebedfad62e33d783d12db8cb74b..b8ff98e79a70c962e18976255b15467b3874bcd7 100644 (file)
@@ -182,11 +182,11 @@ public final class EmacsService extends Service
        manager = (NotificationManager) tem;
        infoBlurb = ("This notification is displayed to keep Emacs"
                     + " running while it is in the background.  You"
-                    + " may disable it if you want;"
+                    + " may disable it if you wish;"
                     + " see (emacs)Android Environment.");
        channel
          = new NotificationChannel ("emacs", "Emacs Background Service",
-                                    NotificationManager.IMPORTANCE_DEFAULT);
+                                    NotificationManager.IMPORTANCE_LOW);
        manager.createNotificationChannel (channel);
        notification = (new Notification.Builder (this, "emacs")
                        .setContentTitle ("Emacs")