소스 검색

Fixed bug in getType

Sebastián Katzer 10 년 전
부모
커밋
1ddf040193
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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;
     }
 
     /**