Update ForegroundService.java

This commit is contained in:
Woutwo 2016-12-24 21:36:44 +01:00 committed by GitHub
parent 8d165cdf3a
commit 05e8de79b9

View File

@ -160,6 +160,7 @@ public class ForegroundService extends Service {
.setContentText(settings.optString("text", "")) .setContentText(settings.optString("text", ""))
.setTicker(settings.optString("ticker", "")) .setTicker(settings.optString("ticker", ""))
.setOngoing(true) .setOngoing(true)
.setPriority(Notification.PRIORITY_LOW)
.setSmallIcon(getIconResId()); .setSmallIcon(getIconResId());
setColor(notification, settings); setColor(notification, settings);