X-Git-Url: http://git.linex4red.de/pub/Android/ownCloud.git/blobdiff_plain/f68d10abc7d74dd93a2368e56b14285578704199..8e36e7cc3e6218ccb80ee2af3eb0a19df24e339f:/src/com/owncloud/android/ui/activity/ErrorsWhileCopyingHandlerActivity.java diff --git a/src/com/owncloud/android/ui/activity/ErrorsWhileCopyingHandlerActivity.java b/src/com/owncloud/android/ui/activity/ErrorsWhileCopyingHandlerActivity.java index 01e45749..dc6a507b 100644 --- a/src/com/owncloud/android/ui/activity/ErrorsWhileCopyingHandlerActivity.java +++ b/src/com/owncloud/android/ui/activity/ErrorsWhileCopyingHandlerActivity.java @@ -1,3 +1,21 @@ +/* ownCloud Android client application + * 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 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + * + */ + package com.owncloud.android.ui.activity; import java.io.File; @@ -23,6 +41,7 @@ import android.widget.TextView; import android.widget.Toast; import com.actionbarsherlock.app.SherlockFragmentActivity; +import com.owncloud.android.Log_OC; import com.owncloud.android.R; import com.owncloud.android.datamodel.FileDataStorageManager; import com.owncloud.android.datamodel.OCFile; @@ -164,16 +183,16 @@ public class ErrorsWhileCopyingHandlerActivity extends SherlockFragmentActivity public void onClick(View v) { if (v.getId() == R.id.ok) { /// perform movement operation in background thread - Log.d(TAG, "Clicked MOVE, start movement"); + Log_OC.d(TAG, "Clicked MOVE, start movement"); new MoveFilesTask().execute(); } else if (v.getId() == R.id.cancel) { /// just finish - Log.d(TAG, "Clicked CANCEL, bye"); + Log_OC.d(TAG, "Clicked CANCEL, bye"); finish(); } else { - Log.e(TAG, "Clicked phantom button, id: " + v.getId()); + Log_OC.e(TAG, "Clicked phantom button, id: " + v.getId()); } } @@ -233,7 +252,7 @@ public class ErrorsWhileCopyingHandlerActivity extends SherlockFragmentActivity * * In other case, the list of remaining files is still available to retry the movement. * - * @result 'True' when the movement was successful. + * @param result 'True' when the movement was successful. */ @Override protected void onPostExecute(Boolean result) {