X-Git-Url: http://git.linex4red.de/pub/Android/ownCloud.git/blobdiff_plain/92080afefcab6de830d6a5c099b04e3c3a7db47f..e1245bbda7894e1a3028d2b54a6918e4bdd46ae2:/src/com/owncloud/android/ui/dialog/ConflictsResolveDialog.java diff --git a/src/com/owncloud/android/ui/dialog/ConflictsResolveDialog.java b/src/com/owncloud/android/ui/dialog/ConflictsResolveDialog.java index 1319562e..1998fcb8 100644 --- a/src/com/owncloud/android/ui/dialog/ConflictsResolveDialog.java +++ b/src/com/owncloud/android/ui/dialog/ConflictsResolveDialog.java @@ -1,10 +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 - * (at your option) any later version. + * it under the terms of the GNU General Public License version 2, + * as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -29,6 +29,7 @@ import com.actionbarsherlock.app.SherlockDialogFragment; import com.actionbarsherlock.app.SherlockFragmentActivity; import com.owncloud.android.R; + /** * Dialog which will be displayed to user upon keep-in-sync file conflict. * @@ -109,6 +110,11 @@ public class ConflictsResolveDialog extends SherlockDialogFragment { } } + @Override + public void onCancel(DialogInterface dialog) { + mListener.ConflictDecisionMade(Decision.CANCEL); + } + public interface OnConflictDecisionMadeListener { public void ConflictDecisionMade(Decision decision); }