mirror of https://github.com/M66B/FairEmail.git
Name threads
This commit is contained in:
parent
7ba42e46fe
commit
dcc7a7e82b
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue