Commit a33413a1 by Sebastián Katzer

Merge pull request #192 from tb123123/patch-1

Do not inherit any notification defaults
parents a3451824 970e8844
...@@ -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