mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-09 10:33:41 +02:00
Name threads
This commit is contained in:
@@ -3053,7 +3053,7 @@ public class FragmentMessages extends FragmentBase {
|
||||
db.endTransaction();
|
||||
}
|
||||
}
|
||||
});
|
||||
}, "messages:timeout");
|
||||
thread.setPriority(THREAD_PRIORITY_BACKGROUND);
|
||||
thread.start();
|
||||
}
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user