Drop the GCM RECEIPT message type (unused).

This commit is contained in:
Jon Chambers authored and Jon Chambers committed 2020-05-04 17:51:54 -04:00
1 parent 10840b22c5
commit 50d7929e76
2 files changed
+1 -2

No files matched your search

@@ -70,7 +70,6 @@ public class GCMSender implements Managed {
String key;
switch (message.getType()) {
case RECEIPT: key = "receipt"; break;
case NOTIFICATION: key = "notification"; break;
case CHALLENGE: key = "challenge"; break;
default: throw new AssertionError();
@@ -7,7 +7,7 @@ import java.util.Optional;
public class GcmMessage {
public enum Type {
RECEIPT, NOTIFICATION, CHALLENGE
NOTIFICATION, CHALLENGE
}
private final String gcmId;