Merge remote-tracking branch 'origin/master' into long_press
authorDavid A. Velasco <dvelasco@solidgear.es>
Wed, 31 Oct 2012 16:52:28 +0000 (17:52 +0100)
committerDavid A. Velasco <dvelasco@solidgear.es>
Wed, 31 Oct 2012 16:52:28 +0000 (17:52 +0100)
AndroidManifest.xml
src/eu/alefzero/webdav/WebdavEntry.java

index 597e600..0c15b2d 100644 (file)
@@ -17,8 +17,8 @@
   along with this program.  If not, see <http://www.gnu.org/licenses/>.\r
  -->\r
 <manifest package="com.owncloud.android"\r
-    android:versionCode="103012"\r
-    android:versionName="1.3.12" xmlns:android="http://schemas.android.com/apk/res/android">\r
+    android:versionCode="103014"\r
+    android:versionName="1.3.14" xmlns:android="http://schemas.android.com/apk/res/android">\r
 \r
     <uses-permission android:name="android.permission.GET_ACCOUNTS" />\r
     <uses-permission android:name="android.permission.USE_CREDENTIALS" />\r
index 773276d..5785f91 100644 (file)
@@ -50,6 +50,8 @@ public class WebdavEntry {
                     mName = tmp[tmp.length - 1];
             }
 
+            // use unknown mimetype as default behavior
+            mContentType = "application/octet-stream";
             prop = propSet.get(DavPropertyName.GETCONTENTTYPE);
             if (prop != null) {
                 mContentType = (String) prop.getValue();