Use context looper

This commit is contained in:
M66B
2018-12-20 19:42:38 +01:00
parent 3c4a5a9294
commit fde13733d2
2 changed files with 3 additions and 3 deletions

View File

@@ -2564,7 +2564,7 @@ public class ServiceSynchronize extends LifecycleService {
if (outbox != null) {
db.folder().setFolderError(outbox.id, null);
handler = new Handler(Looper.getMainLooper()) {
handler = new Handler(getMainLooper()) {
private LiveData<List<EntityOperation>> liveOperations;
@Override