Fixed crash when the device is turned while the warning dialog about server certifica...
[pub/Android/ownCloud.git] / src / com / owncloud / android / syncadapter / AbstractOwnCloudSyncAdapter.java
index ecb320e..8cb6234 100644 (file)
@@ -30,7 +30,7 @@ import org.apache.http.protocol.HttpContext;
 \r
 import com.owncloud.android.authenticator.AccountAuthenticator;\r
 import com.owncloud.android.datamodel.DataStorageManager;\r
-import com.owncloud.android.utils.OwnCloudClientUtils;\r
+import com.owncloud.android.network.OwnCloudClientUtils;\r
 \r
 import android.accounts.Account;\r
 import android.accounts.AccountManager;\r
@@ -148,8 +148,8 @@ public abstract class AbstractOwnCloudSyncAdapter extends
                 AccountAuthenticator.KEY_OC_URL));\r
     }\r
 \r
-    protected WebdavClient getClient() throws OperationCanceledException,\r
-            AuthenticatorException, IOException {\r
+    protected WebdavClient getClient() throws /*OperationCanceledException,\r
+            AuthenticatorException,*/ IOException {\r
         if (mClient == null) {\r
             if (this.getAccountManager().getUserData(getAccount(),\r
                     AccountAuthenticator.KEY_OC_URL) == null) {\r