Adjust priority of Emacs background service notification

* java/org/gnu/emacs/EmacsService.java (onStartCommand): Reword
lightly and set importance to IMPORTANCE_LOW.
This commit is contained in:
Po Lu 2024-04-11 09:11:44 +08:00
parent 2733329b46
commit 7720c614af

View 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")