return if api is not initialized
This commit is contained in:
parent
1bc1eacd83
commit
6ebad03954
1 changed files with 1 additions and 0 deletions
|
@ -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..");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue