projects
/
pub
/
Android
/
ownCloud.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Automatic download of previewable files in download mode
[pub/Android/ownCloud.git]
/
src
/
com
/
owncloud
/
android
/
ui
/
fragment
/
FileDetailFragment.java
diff --git
a/src/com/owncloud/android/ui/fragment/FileDetailFragment.java
b/src/com/owncloud/android/ui/fragment/FileDetailFragment.java
index
d9ee918
..
2416ec2
100644
(file)
--- a/
src/com/owncloud/android/ui/fragment/FileDetailFragment.java
+++ b/
src/com/owncloud/android/ui/fragment/FileDetailFragment.java
@@
-833,9
+833,9
@@
public class FileDetailFragment extends SherlockFragment implements
if (mFile.getRemotePath().equals(downloadedRemotePath)) {
\r
if (downloadWasFine) {
\r
mFile = mStorageManager.getFileByPath(downloadedRemotePath);
\r
if (mFile.getRemotePath().equals(downloadedRemotePath)) {
\r
if (downloadWasFine) {
\r
mFile = mStorageManager.getFileByPath(downloadedRemotePath);
\r
- mContainerActivity.notifySuccessfulDownload(mFile);
\r
- getActivity().removeStickyBroadcast(intent);
\r
}
\r
}
\r
+ mContainerActivity.notifySuccessfulDownload(mFile, intent, downloadWasFine);
\r
+ getActivity().removeStickyBroadcast(intent);
\r
updateFileDetails(false); // it updates the buttons; must be called although !downloadWasFine
\r
}
\r
}
\r
updateFileDetails(false); // it updates the buttons; must be called although !downloadWasFine
\r
}
\r
}
\r