return if api is not initialized

This commit is contained in:
David Luhmer 2019-03-18 19:08:17 +01:00
parent 1bc1eacd83
commit 6ebad03954

View file

@ -115,6 +115,7 @@ public class OwnCloudSyncAdapter extends AbstractThreadedSyncAdapter {
if(mApi.getAPI() == null) {
throwException(new IllegalStateException("API is NOT initialized"));
Log.e(TAG, "API is NOT initialized..");
return;
} else {
Log.v(TAG, "API is initialized..");
}