Drop the GCM `RECEIPT` message type (unused).
This commit is contained in:
parent
10840b22c5
commit
50d7929e76
|
@ -70,7 +70,6 @@ public class GCMSender implements Managed {
|
||||||
String key;
|
String key;
|
||||||
|
|
||||||
switch (message.getType()) {
|
switch (message.getType()) {
|
||||||
case RECEIPT: key = "receipt"; break;
|
|
||||||
case NOTIFICATION: key = "notification"; break;
|
case NOTIFICATION: key = "notification"; break;
|
||||||
case CHALLENGE: key = "challenge"; break;
|
case CHALLENGE: key = "challenge"; break;
|
||||||
default: throw new AssertionError();
|
default: throw new AssertionError();
|
||||||
|
|
|
@ -7,7 +7,7 @@ import java.util.Optional;
|
||||||
public class GcmMessage {
|
public class GcmMessage {
|
||||||
|
|
||||||
public enum Type {
|
public enum Type {
|
||||||
RECEIPT, NOTIFICATION, CHALLENGE
|
NOTIFICATION, CHALLENGE
|
||||||
}
|
}
|
||||||
|
|
||||||
private final String gcmId;
|
private final String gcmId;
|
||||||
|
|
Loading…
Reference in New Issue