|
@@ -88,6 +88,7 @@ public class NotificationJob extends Job {
|
|
private static final String KEY_NOTIFICATION_ACTION_TYPE = "KEY_NOTIFICATION_ACTION_TYPE";
|
|
private static final String KEY_NOTIFICATION_ACTION_TYPE = "KEY_NOTIFICATION_ACTION_TYPE";
|
|
private static final String PUSH_NOTIFICATION_ID = "PUSH_NOTIFICATION_ID";
|
|
private static final String PUSH_NOTIFICATION_ID = "PUSH_NOTIFICATION_ID";
|
|
private static final String NUMERIC_NOTIFICATION_ID = "NUMERIC_NOTIFICATION_ID";
|
|
private static final String NUMERIC_NOTIFICATION_ID = "NUMERIC_NOTIFICATION_ID";
|
|
|
|
+ public static final String APP_SPREED = "spreed";
|
|
|
|
|
|
private SecureRandom randomId = new SecureRandom();
|
|
private SecureRandom randomId = new SecureRandom();
|
|
private Context context;
|
|
private Context context;
|
|
@@ -121,7 +122,7 @@ public class NotificationJob extends Job {
|
|
DecryptedPushMessage.class);
|
|
DecryptedPushMessage.class);
|
|
|
|
|
|
// We ignore Spreed messages for now
|
|
// We ignore Spreed messages for now
|
|
- if (!"spreed".equals(decryptedPushMessage.getApp())) {
|
|
|
|
|
|
+ if (!APP_SPREED.equals(decryptedPushMessage.getApp())) {
|
|
fetchCompleteNotification(signatureVerification.getAccount(), decryptedPushMessage);
|
|
fetchCompleteNotification(signatureVerification.getAccount(), decryptedPushMessage);
|
|
}
|
|
}
|
|
}
|
|
}
|