projects
/
pub
/
Android
/
ownCloud.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'bug_hunting' into feature_previews
[pub/Android/ownCloud.git]
/
src
/
com
/
owncloud
/
android
/
ui
/
activity
/
ConflictsResolveActivity.java
diff --git
a/src/com/owncloud/android/ui/activity/ConflictsResolveActivity.java
b/src/com/owncloud/android/ui/activity/ConflictsResolveActivity.java
index
8f008e7
..
21aaed8
100644
(file)
--- a/
src/com/owncloud/android/ui/activity/ConflictsResolveActivity.java
+++ b/
src/com/owncloud/android/ui/activity/ConflictsResolveActivity.java
@@
-1,9
+1,10
@@
/* ownCloud Android client application
* Copyright (C) 2012 Bartek Przybylski
/* ownCloud Android client application
* Copyright (C) 2012 Bartek Przybylski
+ * Copyright (C) 2012-2013 ownCloud Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version
3
of the License, or
+ * the Free Software Foundation, either version
2
of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
@@
-73,15
+74,15
@@
public class ConflictsResolveActivity extends SherlockFragmentActivity implement
return;
case OVERWRITE:
i.putExtra(FileUploader.KEY_FORCE_OVERWRITE, true);
return;
case OVERWRITE:
i.putExtra(FileUploader.KEY_FORCE_OVERWRITE, true);
- case KEEP_BOTH: // fallthrough
+ break;
+ case KEEP_BOTH:
+ i.putExtra(FileUploader.KEY_LOCAL_BEHAVIOUR, FileUploader.LOCAL_BEHAVIOUR_MOVE);
break;
default:
Log.wtf(TAG, "Unhandled conflict decision " + decision);
return;
}
i.putExtra(FileUploader.KEY_ACCOUNT, mOCAccount);
break;
default:
Log.wtf(TAG, "Unhandled conflict decision " + decision);
return;
}
i.putExtra(FileUploader.KEY_ACCOUNT, mOCAccount);
- //i.putExtra(FileUploader.KEY_REMOTE_FILE, mRemotePath);
- //i.putExtra(FileUploader.KEY_LOCAL_FILE, mLocalPath);
i.putExtra(FileUploader.KEY_FILE, mFile);
i.putExtra(FileUploader.KEY_UPLOAD_TYPE, FileUploader.UPLOAD_SINGLE_FILE);
i.putExtra(FileUploader.KEY_FILE, mFile);
i.putExtra(FileUploader.KEY_UPLOAD_TYPE, FileUploader.UPLOAD_SINGLE_FILE);