- mOwnCloudClient = OwnCloudClientFactory.createOwnCloudClient(mLastTarget.mServerUrl, getApplicationContext(),
- mLastTarget.mFollowRedirects); // this is not good enough
+ mOwnCloudClient = OwnCloudClientMap.getAnonymousClientFor(
+ mLastTarget.mServerUrl,
+ this,
+ mLastTarget.mFollowRedirects);
+