Explorar o código

Fixed bug in getType

Sebastián Katzer %!s(int64=10) %!d(string=hai) anos
pai
achega
1ddf040193
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;
     }
 
     /**