projects
/
pub
/
Android
/
ownCloud.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Some cleanup and methods renamed in FileDataStorageManager
[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
4b40ff4
..
6b6264f
100644
(file)
--- a/
src/com/owncloud/android/syncadapter/FileSyncAdapter.java
+++ b/
src/com/owncloud/android/syncadapter/FileSyncAdapter.java
@@
-149,7
+149,7
@@
public class FileSyncAdapter extends AbstractOwnCloudSyncAdapter {
updateOCVersion();
mCurrentSyncTime = System.currentTimeMillis();
if (!mCancellation) {
updateOCVersion();
mCurrentSyncTime = System.currentTimeMillis();
if (!mCancellation) {
- synchronizeFolder(getStorageManager().getFileByPath(OCFile.
PATH_SEPARATOR
), true);
+ synchronizeFolder(getStorageManager().getFileByPath(OCFile.
ROOT_PATH
), true);
} else {
Log_OC.d(TAG, "Leaving synchronization before synchronizing the root folder because cancelation request");
} else {
Log_OC.d(TAG, "Leaving synchronization before synchronizing the root folder because cancelation request");
@@
-315,7
+315,7
@@
public class FileSyncAdapter extends AbstractOwnCloudSyncAdapter {
int i;
for (i=0; i < files.size() && !mCancellation; i++) {
OCFile newFile = files.get(i);
int i;
for (i=0; i < files.size() && !mCancellation; i++) {
OCFile newFile = files.get(i);
- if (newFile.is
Directory
()) {
+ if (newFile.is
Folder
()) {
synchronizeFolder(newFile, false);
}
}
synchronizeFolder(newFile, false);
}
}