IDLE when supported only

pull/50/head
M66B 6 years ago
parent 78cd6c8e79
commit 776d4bba00

@ -589,6 +589,7 @@ public class ServiceSynchronize extends LifecycleService {
noops.add(noop);
// Receive folder events
if (istore.hasCapability("IDLE")) {
Thread idle = new Thread(new Runnable() {
@Override
public void run() {
@ -616,6 +617,7 @@ public class ServiceSynchronize extends LifecycleService {
idle.start();
idlers.add(idle);
}
}
BroadcastReceiver processReceiver = new BroadcastReceiver() {
@Override

Loading…
Cancel
Save