|
|
@@ -126,7 +126,8 @@ public class Receiver extends BroadcastReceiver {
|
|
|
.setSmallIcon(options.getSmallIcon())
|
|
|
.setLargeIcon(icon)
|
|
|
.setSound(options.getSound())
|
|
|
- .setAutoCancel(options.getAutoCancel());
|
|
|
+ .setAutoCancel(options.getAutoCancel())
|
|
|
+ .setOngoing(options.getOngoing());
|
|
|
|
|
|
setClickEvent(notification);
|
|
|
|
|
|
@@ -176,4 +177,4 @@ public class Receiver extends BroadcastReceiver {
|
|
|
private void fireTriggerEvent () {
|
|
|
LocalNotification.fireEvent("trigger", options.getId(), options.getJSON());
|
|
|
}
|
|
|
-}
|
|
|
+}
|