Loading app/src/main/java/it/niedermann/owncloud/notes/persistence/NotesServerSyncTask.java +3 −3 Original line number Original line Diff line number Diff line Loading @@ -292,11 +292,11 @@ abstract class NotesServerSyncTask extends Thread { } } } else if (cause.getClass() == NextcloudApiNotRespondingException.class || cause instanceof NextcloudApiNotRespondingException) { } else if (cause.getClass() == NextcloudApiNotRespondingException.class || cause instanceof NextcloudApiNotRespondingException) { apiProvider.invalidateAPICache(ssoAccount); apiProvider.invalidateAPICache(ssoAccount); } } else if (cause.getClass() == NextcloudNetworkException.class) { } else if (t.getClass() == NextcloudNetworkException.class) { Log.w(TAG, "Network connectivity issue during sync"); Log.w(TAG, "Network connectivity issue during sync"); return true; return true; } } } exceptions.add(t); exceptions.add(t); return false; return false; Loading Loading
app/src/main/java/it/niedermann/owncloud/notes/persistence/NotesServerSyncTask.java +3 −3 Original line number Original line Diff line number Diff line Loading @@ -292,11 +292,11 @@ abstract class NotesServerSyncTask extends Thread { } } } else if (cause.getClass() == NextcloudApiNotRespondingException.class || cause instanceof NextcloudApiNotRespondingException) { } else if (cause.getClass() == NextcloudApiNotRespondingException.class || cause instanceof NextcloudApiNotRespondingException) { apiProvider.invalidateAPICache(ssoAccount); apiProvider.invalidateAPICache(ssoAccount); } } else if (cause.getClass() == NextcloudNetworkException.class) { } else if (t.getClass() == NextcloudNetworkException.class) { Log.w(TAG, "Network connectivity issue during sync"); Log.w(TAG, "Network connectivity issue during sync"); return true; return true; } } } exceptions.add(t); exceptions.add(t); return false; return false; Loading