Prevent crash

This commit is contained in:
M66B 2019-06-01 10:02:12 +02:00
parent 3819c5dea7
commit 2cbe22c350
1 changed files with 1 additions and 1 deletions

View File

@ -151,7 +151,7 @@ public class ServiceSynchronize extends LifecycleService {
@Override
public void onChanged(Integer count) {
Log.i("Synchronizing folders=" + count);
if (count == 0)
if (count == null || count == 0)
cowner.start();
else
cowner.stop();