projects
/
pub
/
Android
/
ownCloud.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Files uploaded in the past are copied to the local ownCloud directory during account...
[pub/Android/ownCloud.git]
/
src
/
eu
/
alefzero
/
webdav
/
WebdavEntry.java
diff --git
a/src/eu/alefzero/webdav/WebdavEntry.java
b/src/eu/alefzero/webdav/WebdavEntry.java
index
773276d
..
5785f91
100644
(file)
--- 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];
}
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();
prop = propSet.get(DavPropertyName.GETCONTENTTYPE);
if (prop != null) {
mContentType = (String) prop.getValue();