Fixed hiding messages

This commit is contained in:
M66B
2022-07-01 21:54:27 +02:00
parent 524bb3c26d
commit 944138c253
2 changed files with 4 additions and 2 deletions

View File

@@ -584,7 +584,7 @@ public class EntityMessage implements Serializable {
}
static void snooze(Context context, long id, Long wakeup) {
if (wakeup != null) {
if (wakeup != null && wakeup != Long.MAX_VALUE) {
/*
java.lang.IllegalStateException: Maximum limit of concurrent alarms 500 reached for uid: u0a601, callingPackage: eu.faircode.email
at android.os.Parcel.createExceptionOrNull(Parcel.java:2433)