projects
/
pub
/
Android
/
ownCloud.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed crash when an upload is confirmed with no file selected
[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
..
30b5660
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();
@@
-124,7
+126,7
@@
public class WebdavEntry {
return mCreateTimestamp;
}
return mCreateTimestamp;
}
- public long modifiedTimesamp() {
+ public long modifiedTimes
t
amp() {
return mModifiedTimestamp;
}
return mModifiedTimestamp;
}