|
@@ -1,31 +1,15 @@
|
|
|
/*
|
|
|
- * ownCloud Android client application
|
|
|
- *
|
|
|
- * @author David A. Velasco
|
|
|
- * Copyright (C) 2014 ownCloud Inc.
|
|
|
- *
|
|
|
- * This program is free software: you can redistribute it and/or modify
|
|
|
- * 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
|
|
|
- * 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 <http://www.gnu.org/licenses/>.
|
|
|
+ * Nextcloud - Android Client
|
|
|
*
|
|
|
+ * SPDX-FileCopyrightText: 2023 Alper Ozturk <alper_ozturk@proton.me>
|
|
|
+ * SPDX-FileCopyrightText: 2022 Andy Scherzinger <info@andy-scherzinger.de>
|
|
|
+ * SPDX-FileCopyrightText: 2017-2022 Tobias Kaminsky <tobias@kaminsky.me>
|
|
|
+ * SPDX-FileCopyrightText: 2014 ownCloud Inc.
|
|
|
+ * SPDX-FileCopyrightText: 2014 David A. Velasco <dvelasco@solidgear.es>
|
|
|
+ * SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later
|
|
|
*/
|
|
|
-
|
|
|
package com.owncloud.android.ui.dialog;
|
|
|
|
|
|
-/*
|
|
|
- * Dialog to input a new name for an {@link OCFile} being renamed.
|
|
|
- *
|
|
|
- * Triggers the rename operation.
|
|
|
- */
|
|
|
-
|
|
|
import android.app.Dialog;
|
|
|
import android.content.DialogInterface;
|
|
|
import android.os.Bundle;
|
|
@@ -59,11 +43,9 @@ import androidx.annotation.NonNull;
|
|
|
import androidx.appcompat.app.AlertDialog;
|
|
|
import androidx.fragment.app.DialogFragment;
|
|
|
|
|
|
-
|
|
|
/**
|
|
|
- * Dialog to input a new name for a file or folder to rename.
|
|
|
- * <p>
|
|
|
- * Triggers the rename operation when name is confirmed.
|
|
|
+ * Dialog to input a new name for an {@link OCFile} being renamed.
|
|
|
+ * Triggers the rename operation.
|
|
|
*/
|
|
|
public class RenameFileDialogFragment
|
|
|
extends DialogFragment implements DialogInterface.OnClickListener, TextWatcher, Injectable {
|