Lower foreground service notification priority (#3223)

...so no useless icon is shown on the status bar on Android 7 and older (as it was up to 2.2.9)
This commit is contained in:
Licaon_Kter 2018-10-11 00:44:17 +00:00 committed by Daniel Gultsch
parent 57fe153ef1
commit 58c6dbbbbe
1 changed files with 1 additions and 1 deletions

View File

@ -869,7 +869,7 @@ public class NotificationService {
}
mBuilder.setContentIntent(createOpenConversationsIntent());
mBuilder.setWhen(0);
mBuilder.setPriority(Notification.PRIORITY_LOW);
mBuilder.setPriority(Notification.PRIORITY_MIN);
mBuilder.setSmallIcon(R.drawable.ic_link_white_24dp);
if (Compatibility.runsTwentySix()) {