projects
/
pub
/
Android
/
ownCloud.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bugfix for issue #220: exception on Android 4.3
[pub/Android/ownCloud.git]
/
src
/
com
/
owncloud
/
android
/
syncadapter
/
FileSyncAdapter.java
diff --git
a/src/com/owncloud/android/syncadapter/FileSyncAdapter.java
b/src/com/owncloud/android/syncadapter/FileSyncAdapter.java
index
44fe401
..
8653fe7
100644
(file)
--- a/
src/com/owncloud/android/syncadapter/FileSyncAdapter.java
+++ b/
src/com/owncloud/android/syncadapter/FileSyncAdapter.java
@@
-220,6
+220,8
@@
public class FileSyncAdapter extends AbstractOwnCloudSyncAdapter {
List<OCFile> children = synchFolderOp.getChildren();
fetchChildren(children); // beware of the 'hidden' recursion here!
List<OCFile> children = synchFolderOp.getChildren();
fetchChildren(children); // beware of the 'hidden' recursion here!
+ sendStickyBroadcast(true, remotePath, null);
+
} else {
if (result.getCode() == RemoteOperationResult.ResultCode.UNAUTHORIZED) {
mSyncResult.stats.numAuthExceptions++;
} else {
if (result.getCode() == RemoteOperationResult.ResultCode.UNAUTHORIZED) {
mSyncResult.stats.numAuthExceptions++;
@@
-267,7
+269,7
@@
public class FileSyncAdapter extends AbstractOwnCloudSyncAdapter {
fetchData(newFile.getRemotePath(), newFile.getFileId());
// Update folder size on DB
fetchData(newFile.getRemotePath(), newFile.getFileId());
// Update folder size on DB
- getStorageManager().calculateFolderSize(newFile.getFileId());
+ getStorageManager().calculateFolderSize(newFile.getFileId());
}
}
}
}