From: David A. Velasco Date: Thu, 19 Jul 2012 09:34:51 +0000 (+0200) Subject: Enable preemptive authentication to avoid double send of files in uploading X-Git-Tag: oc-android-1.4.3~262 X-Git-Url: http://git.linex4red.de/pub/Android/ownCloud.git/commitdiff_plain/611fe1e4b5790a7a8034c34754366965faf36073?ds=sidebyside Enable preemptive authentication to avoid double send of files in uploading --- diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 7f30c522..dc9338d0 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -18,7 +18,7 @@ --> + android:versionName="0.1.167B" xmlns:android="http://schemas.android.com/apk/res/android"> diff --git a/src/eu/alefzero/webdav/WebdavClient.java b/src/eu/alefzero/webdav/WebdavClient.java index 44b6e6b5..449cfffe 100644 --- a/src/eu/alefzero/webdav/WebdavClient.java +++ b/src/eu/alefzero/webdav/WebdavClient.java @@ -97,7 +97,7 @@ public class WebdavClient extends HttpClient { } public void setCredentials(String username, String password) { - //getParams().setAuthenticationPreemptive(true); + getParams().setAuthenticationPreemptive(true); getState().setCredentials(AuthScope.ANY, getCredentials(username, password)); }