mirror of
https://bitbucket.org/TheBosZ/cordova-plugin-run-in-background
synced 2024-11-15 03:54:54 +00:00
Update ForegroundService.java
This commit is contained in:
parent
8d165cdf3a
commit
05e8de79b9
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user