Procházet zdrojové kódy

Fixed bug in getType

Sebastián Katzer před 10 roky
rodič
revize
1ddf040193
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      src/android/notification/Notification.java

+ 1 - 1
src/android/notification/Notification.java

@@ -156,7 +156,7 @@ public class Notification {
      * Notification type can be one of pending or scheduled.
      */
     public Type getType () {
-        return isTriggered() ? Type.TRIGGERED : Type.SCHEDULED;
+        return isScheduled() ? Type.SCHEDULED : Type.TRIGGERED;
     }
 
     /**