From: Bartek Przybylski Date: Tue, 30 Oct 2012 21:36:50 +0000 (+0100) Subject: assign octet-stream mimetype to unknown type file X-Git-Tag: oc-android-1.4.3~116 X-Git-Url: http://git.linex4red.de/pub/Android/ownCloud.git/commitdiff_plain/cce7e1247a5b91d6829b5bcc2f40bd1a47b45512?ds=inline;hp=-c assign octet-stream mimetype to unknown type file --- cce7e1247a5b91d6829b5bcc2f40bd1a47b45512 diff --git a/AndroidManifest.xml b/AndroidManifest.xml index a411f8db..0c15b2d8 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -17,8 +17,8 @@ along with this program. If not, see . --> + android:versionCode="103014" + android:versionName="1.3.14" xmlns:android="http://schemas.android.com/apk/res/android"> diff --git a/src/eu/alefzero/webdav/WebdavEntry.java b/src/eu/alefzero/webdav/WebdavEntry.java index 773276d8..5785f914 100644 --- a/src/eu/alefzero/webdav/WebdavEntry.java +++ b/src/eu/alefzero/webdav/WebdavEntry.java @@ -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();