Explorar o código

Merge pull request #192 from tb123123/patch-1

Do not inherit any notification defaults
Sebastián Katzer %!s(int64=11) %!d(string=hai) anos
pai
achega
a33413a173
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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())