Fixed sync service not stopping

pull/172/head
M66B 6 years ago
parent 4b706b80f6
commit 28da59d2b3

@ -365,7 +365,7 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences
@Override @Override
public void run() { public void run() {
Log.i("### quit startId=" + startId + "/" + lastQuitId + " ops=" + lastOperations); Log.i("### quit startId=" + startId + "/" + lastQuitId + " ops=" + lastOperations);
if (lastOperations == 0) if (lastOperations != 0)
return; return;
if (startId == null) { if (startId == null) {

Loading…
Cancel
Save