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:
parent
57fe153ef1
commit
58c6dbbbbe
|
@ -869,7 +869,7 @@ public class NotificationService {
|
||||||
}
|
}
|
||||||
mBuilder.setContentIntent(createOpenConversationsIntent());
|
mBuilder.setContentIntent(createOpenConversationsIntent());
|
||||||
mBuilder.setWhen(0);
|
mBuilder.setWhen(0);
|
||||||
mBuilder.setPriority(Notification.PRIORITY_LOW);
|
mBuilder.setPriority(Notification.PRIORITY_MIN);
|
||||||
mBuilder.setSmallIcon(R.drawable.ic_link_white_24dp);
|
mBuilder.setSmallIcon(R.drawable.ic_link_white_24dp);
|
||||||
|
|
||||||
if (Compatibility.runsTwentySix()) {
|
if (Compatibility.runsTwentySix()) {
|
||||||
|
|
Loading…
Reference in New Issue