Commit 970e8844 by tb123123

Update Receiver.java

Do not inherit any defaults
parent d29510ac
...@@ -119,6 +119,7 @@ public class Receiver extends BroadcastReceiver { ...@@ -119,6 +119,7 @@ public class Receiver extends BroadcastReceiver {
Uri sound = options.getSound(); Uri sound = options.getSound();
Builder notification = new NotificationCompat.Builder(context) Builder notification = new NotificationCompat.Builder(context)
.setDefaults(0) // Do not inherit any defaults
.setContentTitle(options.getTitle()) .setContentTitle(options.getTitle())
.setContentText(options.getMessage()) .setContentText(options.getMessage())
.setNumber(options.getBadge()) .setNumber(options.getBadge())
......
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