Added logging

pull/172/head
M66B 6 years ago
parent d7458a8792
commit fb8a3fc817

@ -358,7 +358,7 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences
return; return;
lastQuitId = startId; lastQuitId = startId;
EntityLog.log(ServiceSynchronize.this, "Service quit=" + startId); EntityLog.log(ServiceSynchronize.this, "Service quit startId=" + startId);
queue.submit(new Runnable() { queue.submit(new Runnable() {
@Override @Override
@ -380,8 +380,8 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences
} }
// Stop service // Stop service
stopSelf(startId); boolean stopped = stopSelfResult(startId);
EntityLog.log(ServiceSynchronize.this, "Service quited=" + startId); EntityLog.log(ServiceSynchronize.this, "Service quited=" + stopped + " startId=" + startId);
} }
} }
}); });

Loading…
Cancel
Save