Merge pull request #214 from Woutwo/master

Move notification to the min-priority list on android
This commit is contained in:
Sebastián Katzer
2017-01-02 16:15:21 +01:00
committed by GitHub

View File

@@ -155,6 +155,7 @@ public class ForegroundService extends Service {
.setContentText(text)
.setTicker(settings.optString("ticker", ""))
.setOngoing(true)
.setPriority(Notification.PRIORITY_MIN)
.setSmallIcon(getIconResId());
if (bigText || text.contains("\n")) {