From 5b2e77cbf55e69a6a09e464183e5bd4299a99d52 Mon Sep 17 00:00:00 2001 From: M66B Date: Thu, 20 Jan 2022 21:21:06 +0100 Subject: [PATCH] Limit conversation actions duration to 3 seconds --- app/src/main/java/eu/faircode/email/TextHelper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/email/TextHelper.java b/app/src/main/java/eu/faircode/email/TextHelper.java index 7a5c3bdd08..a72fa7ffa1 100644 --- a/app/src/main/java/eu/faircode/email/TextHelper.java +++ b/app/src/main/java/eu/faircode/email/TextHelper.java @@ -55,7 +55,7 @@ public class TextHelper { private static final float MIN_DETECT_PROBABILITY = 0.80f; private static final String TRANSLITERATOR = "Any-Latin; Latin-ASCII"; private static final int MAX_CONVERSATION_SAMPLE_SIZE = 8192; - private static final long MAX_CONVERSATION_DURATION = 5000; // milliseconds + private static final long MAX_CONVERSATION_DURATION = 3000; // milliseconds private static final ExecutorService executor = Helper.getBackgroundExecutor(0, "text");