Added logging

This commit is contained in:
M66B 2020-01-19 09:20:47 +01:00
parent d7458a8792
commit fb8a3fc817
1 changed files with 3 additions and 3 deletions

View File

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