Commit 6fa0ac9a authored by vince-bourgmayer's avatar vince-bourgmayer
Browse files

change wrong instruction in else case in ObserverService.java

parent a4a060ee
Pipeline #16749 passed with stage
in 1 minute and 51 seconds
......@@ -149,12 +149,11 @@ public class ObserverService extends Service implements OnRemoteOperationListene
else
begin();
}else{
JobUtils.stopScheduledJob(this, JobUtils.ScannerJobId); //If no account
this.stopSelf();
}
} else {//If initialization not done
Log.w(TAG, "ContentResolver.getSyncAutomatically(account, '**_PROVIDER_AUTHORITY') return false");
} else {
JobUtils.stopScheduledJob(this, JobUtils.ScannerJobId); //If no account
this.stopSelf();
}
}else{
Log.w(TAG, "Server must be initialized before to start");
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment