Set notification to minimal priority

Pebble app is not showing in status bar and on lockscreen. This change is for GadgetBridge to have the same behavior.
This commit is contained in:
Yar
2017-01-08 15:31:55 +01:00
committed by Daniele Gobbetti
parent 09cc0134db
commit 5c8f02d054
@@ -61,6 +61,7 @@ public class GB {
.setContentText(text)
.setSmallIcon(connected ? R.drawable.ic_notification : R.drawable.ic_notification_disconnected)
.setContentIntent(pendingIntent)
.setPriority(Notification.PRIORITY_MIN)
.setOngoing(true);
if (GBApplication.isRunningLollipopOrLater()) {
builder.setVisibility(Notification.VISIBILITY_PUBLIC);