diff --git a/app/src/main/java/eu/faircode/email/FragmentMessages.java b/app/src/main/java/eu/faircode/email/FragmentMessages.java index 643d616db3..ad8ee16c4f 100644 --- a/app/src/main/java/eu/faircode/email/FragmentMessages.java +++ b/app/src/main/java/eu/faircode/email/FragmentMessages.java @@ -3053,7 +3053,7 @@ public class FragmentMessages extends FragmentBase { db.endTransaction(); } } - }); + }, "messages:timeout"); thread.setPriority(THREAD_PRIORITY_BACKGROUND); thread.start(); } diff --git a/app/src/main/java/eu/faircode/email/ServiceSend.java b/app/src/main/java/eu/faircode/email/ServiceSend.java index 6fc58224b5..6f30112546 100644 --- a/app/src/main/java/eu/faircode/email/ServiceSend.java +++ b/app/src/main/java/eu/faircode/email/ServiceSend.java @@ -247,7 +247,7 @@ public class ServiceSend extends LifecycleService { wl.release(); } } - }); + }, "send:connectivity"); thread.setPriority(THREAD_PRIORITY_BACKGROUND); thread.start(); } @@ -450,7 +450,7 @@ public class ServiceSend extends LifecycleService { Log.e(ex); } } - }); + }, "send:boot"); thread.setPriority(THREAD_PRIORITY_BACKGROUND); thread.start(); } diff --git a/app/src/main/java/eu/faircode/email/ServiceSynchronize.java b/app/src/main/java/eu/faircode/email/ServiceSynchronize.java index 9546d0cc07..a992112a50 100644 --- a/app/src/main/java/eu/faircode/email/ServiceSynchronize.java +++ b/app/src/main/java/eu/faircode/email/ServiceSynchronize.java @@ -1202,7 +1202,7 @@ public class ServiceSynchronize extends LifecycleService { Log.e(ex); } } - }); + }, "synchronize:connectivity"); check.setPriority(THREAD_PRIORITY_BACKGROUND); check.start(); } else @@ -1288,7 +1288,7 @@ public class ServiceSynchronize extends LifecycleService { Log.e(ex); } } - }); + }, "synchronize:boot"); thread.setPriority(THREAD_PRIORITY_BACKGROUND); thread.start(); } diff --git a/app/src/main/java/eu/faircode/email/Widget.java b/app/src/main/java/eu/faircode/email/Widget.java index d59212af72..c51832bb7c 100644 --- a/app/src/main/java/eu/faircode/email/Widget.java +++ b/app/src/main/java/eu/faircode/email/Widget.java @@ -38,7 +38,7 @@ public class Widget extends AppWidgetProvider { DB db = DB.getInstance(context); update(appWidgetIds, appWidgetManager, context, db.message().getUnseenUnified()); } - }); + }, "widget:update"); thread.setPriority(THREAD_PRIORITY_BACKGROUND); thread.start(); }