浏览代码

Merge pull request #192 from tb123123/patch-1

Do not inherit any notification defaults
Sebastián Katzer 11 年之前
父节点
当前提交
a33413a173
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/android/Receiver.java

+ 1 - 0
src/android/Receiver.java

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