1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-01-02 13:14:39 +00:00

Fetch/download will take longer

This commit is contained in:
M66B 2022-10-20 19:27:16 +02:00
parent 724a7b4a4e
commit f287ed5aab

View file

@ -2113,7 +2113,8 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences
else if (EntityOperation.ADD.equals(op.name) ||
EntityOperation.BODY.equals(op.name) ||
EntityOperation.ATTACHMENT.equals(op.name) ||
EntityOperation.RAW.equals(op.name))
EntityOperation.RAW.equals(op.name) ||
(EntityOperation.FETCH.equals(op.name) && folder.download))
timeout += WAKELOCK_CONTENT_MAX; // -> 10 minutes
else if (EntityOperation.MOVE.equals(op.name) ||
EntityOperation.COPY.equals(op.name))