Commit 01174aa9 authored by Libin Lu's avatar Libin Lu Committed by GitHub

Merge pull request #496 from pewh/patch-1

Support ongoing notification
parents 6bd69662 091ec166
......@@ -83,6 +83,10 @@ public class FIRLocalMessagingHelper {
.setGroup(bundle.getString("group"))
.setVibrate(new long[]{0, DEFAULT_VIBRATION})
.setExtras(bundle.getBundle("data"));
if (bundle.containsKey("ongoing") && bundle.getBoolean("ongoing")) {
notification.setOngoing(bundle.getBoolean("ongoing"));
}
//priority
String priority = bundle.getString("priority", "");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment