mirror of https://github.com/M66B/FairEmail.git
Increased notification delay
This commit is contained in:
parent
73e09ef01c
commit
8a9360e07c
|
@ -85,7 +85,7 @@ class NotificationHelper {
|
||||||
// the system might drop updates.
|
// the system might drop updates.
|
||||||
private static final int DEFAULT_MAX_NOTIFICATION_ENQUEUE_RATE = 5; // NotificationManagerService.java
|
private static final int DEFAULT_MAX_NOTIFICATION_ENQUEUE_RATE = 5; // NotificationManagerService.java
|
||||||
private static final int MAX_PREVIEW = 5000; // characters
|
private static final int MAX_PREVIEW = 5000; // characters
|
||||||
private static final long NOTIFY_DELAY = 1000L / DEFAULT_MAX_NOTIFICATION_ENQUEUE_RATE; // milliseconds
|
private static final long NOTIFY_DELAY = 1250L / DEFAULT_MAX_NOTIFICATION_ENQUEUE_RATE; // milliseconds
|
||||||
|
|
||||||
private static final List<String> PERSISTENT_IDS = Collections.unmodifiableList(Arrays.asList(
|
private static final List<String> PERSISTENT_IDS = Collections.unmodifiableList(Arrays.asList(
|
||||||
"service",
|
"service",
|
||||||
|
|
Loading…
Reference in New Issue