Always eval on service UI

pull/178/head
M66B 5 years ago
parent d26d79ca68
commit 32aa43d5b7

@ -176,6 +176,8 @@ public class ServiceUI extends IntentService {
} catch (Throwable ex) {
Log.e(ex);
}
ServiceSynchronize.eval(this, "ui/" + action);
}
private void onClear(long group) {
@ -210,8 +212,6 @@ public class ServiceUI extends IntentService {
} finally {
db.endTransaction();
}
ServiceSynchronize.eval(this, "ui/move:" + folderType);
}
private void onMove(long id) {
@ -233,8 +233,6 @@ public class ServiceUI extends IntentService {
} finally {
db.endTransaction();
}
ServiceSynchronize.eval(this, "ui/move:" + id);
}
private void onJunk(long id) throws JSONException {
@ -265,8 +263,6 @@ public class ServiceUI extends IntentService {
} finally {
db.endTransaction();
}
ServiceSynchronize.eval(this, "ui/junk");
}
private void onReplyDirect(long id, Intent intent) throws IOException {
@ -360,8 +356,6 @@ public class ServiceUI extends IntentService {
} finally {
db.endTransaction();
}
ServiceSynchronize.eval(this, "ui/flag");
}
private void onSeen(long id) {
@ -379,8 +373,6 @@ public class ServiceUI extends IntentService {
} finally {
db.endTransaction();
}
ServiceSynchronize.eval(this, "ui/seen");
}
private void onSnooze(long id) {
@ -486,8 +478,6 @@ public class ServiceUI extends IntentService {
if (EntityFolder.OUTBOX.equals(folder.type))
ServiceSend.start(this);
else
ServiceSynchronize.eval(this, "ui/wakeup");
}
private void onSync(long aid, boolean reschedule) {
@ -509,8 +499,6 @@ public class ServiceUI extends IntentService {
db.endTransaction();
}
ServiceSynchronize.eval(this, "ui/poll");
if (reschedule) {
long now = new Date().getTime();
long[] schedule = ServiceSynchronize.getSchedule(this);

Loading…
Cancel
Save