Skip to content

Commit 1e59594

Browse files
authored
Merge pull request #80 from jpush/dev
android notification alert_type default value -1
2 parents ac30b43 + 5cf0d8a commit 1e59594

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/cn/jpush/api/push/model/notification/AndroidNotification.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public class AndroidNotification extends PlatformNotification {
2424
// 0 ~ 4
2525
private int style = 0;
2626
// -1 ~ 7
27-
private int alert_type = -1;
27+
private int alert_type;
2828
private String big_text;
2929
private Object inbox;
3030
private String big_pic_path;
@@ -123,7 +123,7 @@ public static class Builder extends PlatformNotification.Builder<AndroidNotifica
123123
private String title;
124124
private int builderId;
125125
private int style = 0;
126-
private int alert_type;
126+
private int alert_type = -1;
127127
private String big_text;
128128
private Object inbox;
129129
private String big_pic_path;

0 commit comments

Comments
 (0)