- protected Uri getUri() {\r
- return Uri.parse(AccountUtils.constructFullURLForAccount(getContext(), getAccount()));\r
- }\r
-\r
- protected WebdavClient getClient() throws /*OperationCanceledException,\r
- AuthenticatorException,*/ IOException {\r
- if (mClient == null) {\r
- if (AccountUtils.constructFullURLForAccount(getContext(), getAccount()) == null) {\r
- throw new UnknownHostException();\r
- }\r
- mClient = OwnCloudClientUtils.createOwnCloudClient(account, getContext());\r
+ protected void initClientForCurrentAccount() throws OperationCanceledException, AuthenticatorException, IOException {\r
+ if (AccountUtils.constructFullURLForAccount(getContext(), account) == null) {\r
+ throw new UnknownHostException();\r