X-Git-Url: http://git.linex4red.de/pub/Android/ownCloud.git/blobdiff_plain/b83064eb8326c38d7c7e4a154abb1becbda72d48..a99f74bd9e09ed9acc74b0fe276ed030b91fc85d:/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 8f008e74..21aaed8f 100644 --- 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 + * 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 - * 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, @@ -73,15 +74,15 @@ public class ConflictsResolveActivity extends SherlockFragmentActivity implement 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); - //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);