+ * SPDX-License-Identifier: AGPL-3.0-or-later
*/
package com.nextcloud.client.di;
diff --git a/app/src/huawei/java/com/owncloud/android/utils/PushUtils.java b/app/src/huawei/java/com/owncloud/android/utils/PushUtils.java
index 2ae3f798e8..38998104e8 100644
--- a/app/src/huawei/java/com/owncloud/android/utils/PushUtils.java
+++ b/app/src/huawei/java/com/owncloud/android/utils/PushUtils.java
@@ -1,21 +1,10 @@
-/**
- * Nextcloud Android client application
+/*
+ * Nextcloud - Android Client
*
- * @author Mario Danic
- * @author Chris Narkiewicz Copyright (C) 2017 Mario Danic Copyright (C) 2019 Chris Narkiewicz
- *
- * This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General
- * Public License as published by the Free Software Foundation, either version 3 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 Affero General Public License for more
- * details.
- *
- * You should have received a copy of the GNU Affero General Public License along with this program. If not, see
- * .
+ * SPDX-FileCopyrightText: 2019 Chris Narkiewicz
+ * SPDX-FileCopyrightText: 2017 Mario Danic
+ * SPDX-License-Identifier: AGPL-3.0-or-later
*/
-
package com.owncloud.android.utils;
import android.content.Context;
diff --git a/app/src/huawei/java/com/owncloud/android/utils/SecurityUtils.java b/app/src/huawei/java/com/owncloud/android/utils/SecurityUtils.java
index f3d6ac234b..721f0269ba 100644
--- a/app/src/huawei/java/com/owncloud/android/utils/SecurityUtils.java
+++ b/app/src/huawei/java/com/owncloud/android/utils/SecurityUtils.java
@@ -1,18 +1,8 @@
-/**
- * Nextcloud Android client application
+/*
+ * Nextcloud - Android Client
*
- * @author Mario Danic Copyright (C) 2018 Mario Danic
- *
- * This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General
- * Public License as published by the Free Software Foundation, either version 3 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 Affero General Public License for more
- * details.
- *
- * You should have received a copy of the GNU Affero General Public License along with this program. If not, see
- * .
+ * SPDX-FileCopyrightText: 2018 Mario Danic
+ * SPDX-License-Identifier: AGPL-3.0-or-later
*/
package com.owncloud.android.utils;
diff --git a/app/src/main/java/com/nextcloud/client/NominatimClient.kt b/app/src/main/java/com/nextcloud/client/NominatimClient.kt
index 283d528e8e..d5b07fd002 100644
--- a/app/src/main/java/com/nextcloud/client/NominatimClient.kt
+++ b/app/src/main/java/com/nextcloud/client/NominatimClient.kt
@@ -1,22 +1,9 @@
/*
- * Nextcloud Android client application
+ * Nextcloud - Android Client
*
- * @author ZetaTom
- * Copyright (C) 2023 ZetaTom
- * Copyright (C) 2023 Nextcloud GmbH
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published by
- * the Free Software Foundation, either version 3 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 Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
+ * SPDX-FileCopyrightText: 2023 ZetaTom
+ * SPDX-FileCopyrightText: 2023 Nextcloud GmbH
+ * SPDX-License-Identifier: AGPL-3.0-or-later
*/
package com.nextcloud.client
diff --git a/app/src/main/java/com/nextcloud/client/core/LocalBinder.kt b/app/src/main/java/com/nextcloud/client/core/LocalBinder.kt
index 404c55f8d4..8d28140a47 100644
--- a/app/src/main/java/com/nextcloud/client/core/LocalBinder.kt
+++ b/app/src/main/java/com/nextcloud/client/core/LocalBinder.kt
@@ -1,21 +1,8 @@
-/**
- * Nextcloud Android client application
+/*
+ * Nextcloud - Android Client
*
- * @author Chris Narkiewicz
- * Copyright (C) 2020 Chris Narkiewicz
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published by
- * the Free Software Foundation, either version 3 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 Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
+ * SPDX-FileCopyrightText: 2020 Chris Narkiewicz
+ * SPDX-License-Identifier: AGPL-3.0-or-later
*/
package com.nextcloud.client.core
diff --git a/app/src/main/java/com/nextcloud/client/core/LocalConnection.kt b/app/src/main/java/com/nextcloud/client/core/LocalConnection.kt
index 7708e04c01..9ca3f81cfd 100644
--- a/app/src/main/java/com/nextcloud/client/core/LocalConnection.kt
+++ b/app/src/main/java/com/nextcloud/client/core/LocalConnection.kt
@@ -1,21 +1,8 @@
-/**
- * Nextcloud Android client application
+/*
+ * Nextcloud - Android Client
*
- * @author Chris Narkiewicz
- * Copyright (C) 2020 Chris Narkiewicz
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published by
- * the Free Software Foundation, either version 3 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 Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
+ * SPDX-FileCopyrightText: 2020 Chris Narkiewicz
+ * SPDX-License-Identifier: AGPL-3.0-or-later
*/
package com.nextcloud.client.core
diff --git a/app/src/main/java/com/nextcloud/client/database/dao/FileDao.kt b/app/src/main/java/com/nextcloud/client/database/dao/FileDao.kt
index c895dad97e..e04cc277b8 100644
--- a/app/src/main/java/com/nextcloud/client/database/dao/FileDao.kt
+++ b/app/src/main/java/com/nextcloud/client/database/dao/FileDao.kt
@@ -1,25 +1,10 @@
/*
- * Nextcloud Android client application
- *
- * @author Dariusz Olszewski
- * Copyright (C) 2022 Dariusz Olszewski
- * Copyright (C) 2022 Nextcloud GmbH
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
- * License as published by the Free Software Foundation; either
- * version 3 of the License, or 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 AFFERO GENERAL PUBLIC LICENSE for more details.
- *
- * You should have received a copy of the GNU Affero General Public
- * License along with this program. If not, see .
+ * Nextcloud - Android Client
*
+ * SPDX-FileCopyrightText: 2022 Dariusz Olszewski
+ * SPDX-FileCopyrightText: 2022 Nextcloud GmbH
+ * SPDX-License-Identifier: AGPL-3.0-or-later
*/
-
package com.nextcloud.client.database.dao
import androidx.room.Dao
diff --git a/app/src/main/java/com/nextcloud/client/device/BatteryStatus.kt b/app/src/main/java/com/nextcloud/client/device/BatteryStatus.kt
index 2bd1be16f2..8fee2a8138 100644
--- a/app/src/main/java/com/nextcloud/client/device/BatteryStatus.kt
+++ b/app/src/main/java/com/nextcloud/client/device/BatteryStatus.kt
@@ -1,21 +1,8 @@
/*
- * Nextcloud Android client application
+ * Nextcloud - Android Client
*
- * @author Chris Narkiewicz
- * Copyright (C) 2020 Chris Narkiewicz
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published by
- * the Free Software Foundation, either version 3 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 Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
+ * SPDX-FileCopyrightText: 2020 Chris Narkiewicz
+ * SPDX-License-Identifier: AGPL-3.0-or-later
*/
package com.nextcloud.client.device
diff --git a/app/src/main/java/com/nextcloud/client/di/ComponentsModule.java b/app/src/main/java/com/nextcloud/client/di/ComponentsModule.java
index 84e1f447fb..60346b2fbb 100644
--- a/app/src/main/java/com/nextcloud/client/di/ComponentsModule.java
+++ b/app/src/main/java/com/nextcloud/client/di/ComponentsModule.java
@@ -1,23 +1,9 @@
/*
- * Nextcloud Android client application
+ * Nextcloud - Android Client
*
- * @author Chris Narkiewicz
- * Copyright (C) 2020 Chris Narkiewicz
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published by
- * the Free Software Foundation, either version 3 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 Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
+ * SPDX-FileCopyrightText: 2020 Chris Narkiewicz
+ * SPDX-License-Identifier: AGPL-3.0-or-later
*/
-
package com.nextcloud.client.di;
import com.nextcloud.client.documentscan.DocumentScanActivity;
diff --git a/app/src/main/java/com/nextcloud/client/editimage/EditImageActivity.kt b/app/src/main/java/com/nextcloud/client/editimage/EditImageActivity.kt
index 1d6e22590a..b16e0f6e07 100644
--- a/app/src/main/java/com/nextcloud/client/editimage/EditImageActivity.kt
+++ b/app/src/main/java/com/nextcloud/client/editimage/EditImageActivity.kt
@@ -1,22 +1,9 @@
/*
- * Nextcloud Android client application
+ * Nextcloud - Android Client
*
- * @author ZetaTom
- * Copyright (C) 2023 ZetaTom
- * Copyright (C) 2023 Nextcloud GmbH
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published by
- * the Free Software Foundation, either version 3 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 Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
+ * SPDX-FileCopyrightText: 2023 ZetaTom
+ * SPDX-FileCopyrightText: 2023 Nextcloud GmbH
+ * SPDX-License-Identifier: AGPL-3.0-or-later
*/
package com.nextcloud.client.editimage
diff --git a/app/src/main/java/com/nextcloud/client/etm/EtmViewModel.kt b/app/src/main/java/com/nextcloud/client/etm/EtmViewModel.kt
index 01e12e9b40..c40b30e0c9 100644
--- a/app/src/main/java/com/nextcloud/client/etm/EtmViewModel.kt
+++ b/app/src/main/java/com/nextcloud/client/etm/EtmViewModel.kt
@@ -1,21 +1,8 @@
/*
- * Nextcloud Android client application
+ * Nextcloud - Android Client
*
- * @author Chris Narkiewicz
- * Copyright (C) 2020 Chris Narkiewicz
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published by
- * the Free Software Foundation, either version 3 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 Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
+ * SPDX-FileCopyrightText: 2020 Chris Narkiewicz
+ * SPDX-License-Identifier: AGPL-3.0-or-later
*/
package com.nextcloud.client.etm
diff --git a/app/src/main/java/com/nextcloud/client/etm/pages/EtmBackgroundJobsFragment.kt b/app/src/main/java/com/nextcloud/client/etm/pages/EtmBackgroundJobsFragment.kt
index d55caec0b0..a33505906f 100644
--- a/app/src/main/java/com/nextcloud/client/etm/pages/EtmBackgroundJobsFragment.kt
+++ b/app/src/main/java/com/nextcloud/client/etm/pages/EtmBackgroundJobsFragment.kt
@@ -1,22 +1,9 @@
/*
- * Nextcloud Android client application
+ * Nextcloud - Android Client
*
- * @author Chris Narkiewicz
- * Copyright (C) 2020 Chris Narkiewicz
- * Copyright (C) 2020 Nextcloud GmbH
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published by
- * the Free Software Foundation, either version 3 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 Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
+ * SPDX-FileCopyrightText: 2020 Chris Narkiewicz
+ * SPDX-FileCopyrightText: 2020 Nextcloud GmbH
+ * SPDX-License-Identifier: AGPL-3.0-or-later
*/
package com.nextcloud.client.etm.pages
diff --git a/app/src/main/java/com/nextcloud/client/files/DeepLinkHandler.kt b/app/src/main/java/com/nextcloud/client/files/DeepLinkHandler.kt
index ce1732cf8d..c4707f9396 100644
--- a/app/src/main/java/com/nextcloud/client/files/DeepLinkHandler.kt
+++ b/app/src/main/java/com/nextcloud/client/files/DeepLinkHandler.kt
@@ -1,21 +1,8 @@
/*
- * Nextcloud Android client application
+ * Nextcloud - Android Client
*
- * @author Chris Narkiewicz
- * Copyright (C) 2020 Chris Narkiewicz
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published by
- * the Free Software Foundation, either version 3 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 Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
+ * SPDX-FileCopyrightText: 2020 Chris Narkiewicz
+ * SPDX-License-Identifier: AGPL-3.0-or-later
*/
package com.nextcloud.client.files
diff --git a/app/src/main/java/com/nextcloud/client/files/Direction.kt b/app/src/main/java/com/nextcloud/client/files/Direction.kt
index d288c15b0e..e2f0402158 100644
--- a/app/src/main/java/com/nextcloud/client/files/Direction.kt
+++ b/app/src/main/java/com/nextcloud/client/files/Direction.kt
@@ -1,21 +1,8 @@
/*
- * Nextcloud Android client application
+ * Nextcloud - Android Client
*
- * @author Chris Narkiewicz
- * Copyright (C) 2020 Chris Narkiewicz
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published by
- * the Free Software Foundation, either version 3 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 Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
+ * SPDX-FileCopyrightText: 2020 Chris Narkiewicz
+ * SPDX-License-Identifier: AGPL-3.0-or-later
*/
package com.nextcloud.client.files
diff --git a/app/src/main/java/com/nextcloud/client/jobs/BackgroundJobFactory.kt b/app/src/main/java/com/nextcloud/client/jobs/BackgroundJobFactory.kt
index 03ece02158..b0087103da 100644
--- a/app/src/main/java/com/nextcloud/client/jobs/BackgroundJobFactory.kt
+++ b/app/src/main/java/com/nextcloud/client/jobs/BackgroundJobFactory.kt
@@ -1,21 +1,8 @@
/*
- * Nextcloud Android client application
+ * Nextcloud - Android Client
*
- * @author Chris Narkiewicz
- * Copyright (C) 2020 Chris Narkiewicz
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published by
- * the Free Software Foundation, either version 3 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 Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
+ * SPDX-FileCopyrightText: 2020 Chris Narkiewicz
+ * SPDX-License-Identifier: AGPL-3.0-or-later
*/
package com.nextcloud.client.jobs
diff --git a/app/src/main/java/com/nextcloud/client/jobs/BackgroundJobManager.kt b/app/src/main/java/com/nextcloud/client/jobs/BackgroundJobManager.kt
index ad8ea71bc7..68a7a027ec 100644
--- a/app/src/main/java/com/nextcloud/client/jobs/BackgroundJobManager.kt
+++ b/app/src/main/java/com/nextcloud/client/jobs/BackgroundJobManager.kt
@@ -1,21 +1,8 @@
/*
- * Nextcloud Android client application
+ * Nextcloud - Android Client
*
- * @author Chris Narkiewicz
- * Copyright (C) 2020 Chris Narkiewicz
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published by
- * the Free Software Foundation, either version 3 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 Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
+ * SPDX-FileCopyrightText: 2020 Chris Narkiewicz
+ * SPDX-License-Identifier: AGPL-3.0-or-later
*/
package com.nextcloud.client.jobs
diff --git a/app/src/main/java/com/nextcloud/client/jobs/BackgroundJobManagerImpl.kt b/app/src/main/java/com/nextcloud/client/jobs/BackgroundJobManagerImpl.kt
index 841c8a8af8..945e14ded7 100644
--- a/app/src/main/java/com/nextcloud/client/jobs/BackgroundJobManagerImpl.kt
+++ b/app/src/main/java/com/nextcloud/client/jobs/BackgroundJobManagerImpl.kt
@@ -1,21 +1,8 @@
/*
- * Nextcloud Android client application
+ * Nextcloud - Android Client
*
- * @author Chris Narkiewicz
- * Copyright (C) 2020 Chris Narkiewicz
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published by
- * the Free Software Foundation, either version 3 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 Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
+ * SPDX-FileCopyrightText: 2020 Chris Narkiewicz
+ * SPDX-License-Identifier: AGPL-3.0-or-later
*/
package com.nextcloud.client.jobs
diff --git a/app/src/main/java/com/nextcloud/client/jobs/ContactsBackupWork.kt b/app/src/main/java/com/nextcloud/client/jobs/ContactsBackupWork.kt
index fcf02665fb..0d7ef0a6f2 100644
--- a/app/src/main/java/com/nextcloud/client/jobs/ContactsBackupWork.kt
+++ b/app/src/main/java/com/nextcloud/client/jobs/ContactsBackupWork.kt
@@ -1,21 +1,8 @@
/*
- * Nextcloud Android client application
+ * Nextcloud - Android Client
*
- * @author Chris Narkiewicz
- * Copyright (C) 2020 Chris Narkiewicz
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published by
- * the Free Software Foundation, either version 3 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 Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
+ * SPDX-FileCopyrightText: 2020 Chris Narkiewicz
+ * SPDX-License-Identifier: AGPL-3.0-or-later
*/
package com.nextcloud.client.jobs
diff --git a/app/src/main/java/com/nextcloud/client/jobs/JobInfo.kt b/app/src/main/java/com/nextcloud/client/jobs/JobInfo.kt
index 95379fcbf0..935964c549 100644
--- a/app/src/main/java/com/nextcloud/client/jobs/JobInfo.kt
+++ b/app/src/main/java/com/nextcloud/client/jobs/JobInfo.kt
@@ -1,21 +1,8 @@
/*
- * Nextcloud Android client application
+ * Nextcloud - Android Client
*
- * @author Chris Narkiewicz
- * Copyright (C) 2020 Chris Narkiewicz
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published by
- * the Free Software Foundation, either version 3 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 Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
+ * SPDX-FileCopyrightText: 2020 Chris Narkiewicz
+ * SPDX-License-Identifier: AGPL-3.0-or-later
*/
package com.nextcloud.client.jobs
diff --git a/app/src/main/java/com/nextcloud/client/jobs/JobsModule.kt b/app/src/main/java/com/nextcloud/client/jobs/JobsModule.kt
index 79f2f2386c..f05e9a0418 100644
--- a/app/src/main/java/com/nextcloud/client/jobs/JobsModule.kt
+++ b/app/src/main/java/com/nextcloud/client/jobs/JobsModule.kt
@@ -1,21 +1,8 @@
/*
- * Nextcloud Android client application
+ * Nextcloud - Android Client
*
- * @author Chris Narkiewicz
- * Copyright (C) 2020 Chris Narkiewicz
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published by
- * the Free Software Foundation, either version 3 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 Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
+ * SPDX-FileCopyrightText: 2020 Chris Narkiewicz
+ * SPDX-License-Identifier: AGPL-3.0-or-later
*/
package com.nextcloud.client.jobs
diff --git a/app/src/main/java/com/nextcloud/client/jobs/TestJob.kt b/app/src/main/java/com/nextcloud/client/jobs/TestJob.kt
index cfd9e996c0..c30f2cb169 100644
--- a/app/src/main/java/com/nextcloud/client/jobs/TestJob.kt
+++ b/app/src/main/java/com/nextcloud/client/jobs/TestJob.kt
@@ -1,21 +1,8 @@
/*
- * Nextcloud Android client application
+ * Nextcloud - Android Client
*
- * @author Chris Narkiewicz
- * Copyright (C) 2020 Chris Narkiewicz
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published by
- * the Free Software Foundation, either version 3 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 Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
+ * SPDX-FileCopyrightText: 2020 Chris Narkiewicz
+ * SPDX-License-Identifier: AGPL-3.0-or-later
*/
package com.nextcloud.client.jobs
diff --git a/app/src/main/java/com/nextcloud/client/jobs/download/DownloadTask.kt b/app/src/main/java/com/nextcloud/client/jobs/download/DownloadTask.kt
index 32678a45f3..692f86982d 100644
--- a/app/src/main/java/com/nextcloud/client/jobs/download/DownloadTask.kt
+++ b/app/src/main/java/com/nextcloud/client/jobs/download/DownloadTask.kt
@@ -1,21 +1,8 @@
/*
- * Nextcloud Android client application
+ * Nextcloud - Android Client
*
- * @author Chris Narkiewicz
- * Copyright (C) 2020 Chris Narkiewicz
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published by
- * the Free Software Foundation, either version 3 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 Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
+ * SPDX-FileCopyrightText: 2020 Chris Narkiewicz
+ * SPDX-License-Identifier: AGPL-3.0-or-later
*/
package com.nextcloud.client.jobs.download
diff --git a/app/src/main/java/com/nextcloud/client/jobs/transfer/TransferState.kt b/app/src/main/java/com/nextcloud/client/jobs/transfer/TransferState.kt
index f4bdd87fb3..596e51a6e2 100644
--- a/app/src/main/java/com/nextcloud/client/jobs/transfer/TransferState.kt
+++ b/app/src/main/java/com/nextcloud/client/jobs/transfer/TransferState.kt
@@ -1,21 +1,8 @@
/*
- * Nextcloud Android client application
+ * Nextcloud - Android Client
*
- * @author Chris Narkiewicz
- * Copyright (C) 2020 Chris Narkiewicz
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published by
- * the Free Software Foundation, either version 3 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 Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
+ * SPDX-FileCopyrightText: 2020 Chris Narkiewicz
+ * SPDX-License-Identifier: AGPL-3.0-or-later
*/
package com.nextcloud.client.jobs.transfer
diff --git a/app/src/main/java/com/nextcloud/client/migrations/MigrationError.kt b/app/src/main/java/com/nextcloud/client/migrations/MigrationError.kt
index fce1abca5d..67aabecd15 100644
--- a/app/src/main/java/com/nextcloud/client/migrations/MigrationError.kt
+++ b/app/src/main/java/com/nextcloud/client/migrations/MigrationError.kt
@@ -1,21 +1,8 @@
/*
- * Nextcloud Android client application
+ * Nextcloud - Android Client
*
- * @author Chris Narkiewicz
- * Copyright (C) 2020 Chris Narkiewicz
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published by
- * the Free Software Foundation, either version 3 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 Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
+ * SPDX-FileCopyrightText: 2020 Chris Narkiewicz
+ * SPDX-License-Identifier: AGPL-3.0-or-later
*/
package com.nextcloud.client.migrations
diff --git a/app/src/main/java/com/nextcloud/client/migrations/MigrationInfo.kt b/app/src/main/java/com/nextcloud/client/migrations/MigrationInfo.kt
index c7e3b883bd..2e227289ff 100644
--- a/app/src/main/java/com/nextcloud/client/migrations/MigrationInfo.kt
+++ b/app/src/main/java/com/nextcloud/client/migrations/MigrationInfo.kt
@@ -1,21 +1,8 @@
/*
- * Nextcloud Android client application
+ * Nextcloud - Android Client
*
- * @author Chris Narkiewicz
- * Copyright (C) 2020 Chris Narkiewicz
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published by
- * the Free Software Foundation, either version 3 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 Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
+ * SPDX-FileCopyrightText: 2020 Chris Narkiewicz
+ * SPDX-License-Identifier: AGPL-3.0-or-later
*/
package com.nextcloud.client.migrations
diff --git a/app/src/main/java/com/nextcloud/client/migrations/Migrations.kt b/app/src/main/java/com/nextcloud/client/migrations/Migrations.kt
index d459d3b7aa..31d4a0ea67 100644
--- a/app/src/main/java/com/nextcloud/client/migrations/Migrations.kt
+++ b/app/src/main/java/com/nextcloud/client/migrations/Migrations.kt
@@ -1,21 +1,8 @@
/*
- * Nextcloud Android client application
+ * Nextcloud - Android Client
*
- * @author Chris Narkiewicz
- * Copyright (C) 2020 Chris Narkiewicz
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published by
- * the Free Software Foundation, either version 3 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 Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
+ * SPDX-FileCopyrightText: 2020 Chris Narkiewicz
+ * SPDX-License-Identifier: AGPL-3.0-or-later
*/
package com.nextcloud.client.migrations
diff --git a/app/src/main/java/com/nextcloud/client/migrations/MigrationsDb.kt b/app/src/main/java/com/nextcloud/client/migrations/MigrationsDb.kt
index f864e05cc9..d7e03579f1 100644
--- a/app/src/main/java/com/nextcloud/client/migrations/MigrationsDb.kt
+++ b/app/src/main/java/com/nextcloud/client/migrations/MigrationsDb.kt
@@ -1,21 +1,8 @@
/*
- * Nextcloud Android client application
+ * Nextcloud - Android Client
*
- * @author Chris Narkiewicz
- * Copyright (C) 2020 Chris Narkiewicz
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published by
- * the Free Software Foundation, either version 3 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 Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
+ * SPDX-FileCopyrightText: 2020 Chris Narkiewicz
+ * SPDX-License-Identifier: AGPL-3.0-or-later
*/
package com.nextcloud.client.migrations
diff --git a/app/src/main/java/com/nextcloud/client/migrations/MigrationsManager.kt b/app/src/main/java/com/nextcloud/client/migrations/MigrationsManager.kt
index 2bca8c9c65..5fc6b82f2d 100644
--- a/app/src/main/java/com/nextcloud/client/migrations/MigrationsManager.kt
+++ b/app/src/main/java/com/nextcloud/client/migrations/MigrationsManager.kt
@@ -1,21 +1,8 @@
/*
- * Nextcloud Android client application
+ * Nextcloud - Android Client
*
- * @author Chris Narkiewicz
- * Copyright (C) 2020 Chris Narkiewicz
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published by
- * the Free Software Foundation, either version 3 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 Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
+ * SPDX-FileCopyrightText: 2020 Chris Narkiewicz
+ * SPDX-License-Identifier: AGPL-3.0-or-later
*/
package com.nextcloud.client.migrations
diff --git a/app/src/main/java/com/nextcloud/client/migrations/MigrationsManagerImpl.kt b/app/src/main/java/com/nextcloud/client/migrations/MigrationsManagerImpl.kt
index 95197af662..d6afa000cc 100644
--- a/app/src/main/java/com/nextcloud/client/migrations/MigrationsManagerImpl.kt
+++ b/app/src/main/java/com/nextcloud/client/migrations/MigrationsManagerImpl.kt
@@ -1,21 +1,8 @@
/*
- * Nextcloud Android client application
+ * Nextcloud - Android Client
*
- * @author Chris Narkiewicz
- * Copyright (C) 2020 Chris Narkiewicz
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published by
- * the Free Software Foundation, either version 3 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 Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
+ * SPDX-FileCopyrightText: 2020 Chris Narkiewicz
+ * SPDX-License-Identifier: AGPL-3.0-or-later
*/
package com.nextcloud.client.migrations
diff --git a/app/src/main/java/com/nextcloud/client/mixins/ActivityMixin.kt b/app/src/main/java/com/nextcloud/client/mixins/ActivityMixin.kt
index 6041b0d352..98406e20e1 100644
--- a/app/src/main/java/com/nextcloud/client/mixins/ActivityMixin.kt
+++ b/app/src/main/java/com/nextcloud/client/mixins/ActivityMixin.kt
@@ -1,22 +1,9 @@
/*
- * Nextcloud Android client application
+ * Nextcloud - Android Client
*
- * @author Chris Narkiewicz
- * Copyright (C) 2020 Chris Narkiewicz
- * Copyright (C) 2020 Nextcloud GmbH
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published by
- * the Free Software Foundation, either version 3 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 Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
+ * SPDX-FileCopyrightText: 2020 Chris Narkiewicz
+ * SPDX-FileCopyrightText: 2020 Nextcloud GmbH
+ * SPDX-License-Identifier: AGPL-3.0-or-later
*/
package com.nextcloud.client.mixins
diff --git a/app/src/main/java/com/nextcloud/client/mixins/MixinRegistry.kt b/app/src/main/java/com/nextcloud/client/mixins/MixinRegistry.kt
index 2fc01bf9e3..c38e066fe8 100644
--- a/app/src/main/java/com/nextcloud/client/mixins/MixinRegistry.kt
+++ b/app/src/main/java/com/nextcloud/client/mixins/MixinRegistry.kt
@@ -1,22 +1,9 @@
/*
- * Nextcloud Android client application
+ * Nextcloud - Android Client
*
- * @author Chris Narkiewicz
- * Copyright (C) 2020 Chris Narkiewicz
- * Copyright (C) 2020 Nextcloud GmbH
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published by
- * the Free Software Foundation, either version 3 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 Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
+ * SPDX-FileCopyrightText: 2020 Chris Narkiewicz
+ * SPDX-FileCopyrightText: 2020 Nextcloud GmbH
+ * SPDX-License-Identifier: AGPL-3.0-or-later
*/
package com.nextcloud.client.mixins
diff --git a/app/src/main/java/com/nextcloud/client/mixins/SessionMixin.kt b/app/src/main/java/com/nextcloud/client/mixins/SessionMixin.kt
index 21beaeee58..365b56e5aa 100644
--- a/app/src/main/java/com/nextcloud/client/mixins/SessionMixin.kt
+++ b/app/src/main/java/com/nextcloud/client/mixins/SessionMixin.kt
@@ -1,22 +1,9 @@
/*
- * Nextcloud Android client application
+ * Nextcloud - Android Client
*
- * @author Chris Narkiewicz
- * Copyright (C) 2020 Chris Narkiewicz
- * Copyright (C) 2020 Nextcloud GmbH
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published by
- * the Free Software Foundation, either version 3 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 Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
+ * SPDX-FileCopyrightText: 2020 Chris Narkiewicz
+ * SPDX-FileCopyrightText: 2020 Nextcloud GmbH
+ * SPDX-License-Identifier: AGPL-3.0-or-later
*/
package com.nextcloud.client.mixins
diff --git a/app/src/main/java/com/nextcloud/client/network/Connectivity.kt b/app/src/main/java/com/nextcloud/client/network/Connectivity.kt
index 63783b7d23..11ac9866b9 100644
--- a/app/src/main/java/com/nextcloud/client/network/Connectivity.kt
+++ b/app/src/main/java/com/nextcloud/client/network/Connectivity.kt
@@ -1,21 +1,8 @@
/*
- * Nextcloud Android client application
+ * Nextcloud - Android Client
*
- * @author Chris Narkiewicz
- * Copyright (C) 2020 Chris Narkiewicz
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published by
- * the Free Software Foundation, either version 3 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 Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
+ * SPDX-FileCopyrightText: 2020 Chris Narkiewicz
+ * SPDX-License-Identifier: AGPL-3.0-or-later
*/
package com.nextcloud.client.network
diff --git a/app/src/main/java/com/nextcloud/client/network/ConnectivityService.java b/app/src/main/java/com/nextcloud/client/network/ConnectivityService.java
index 1a314dd2ea..2f97bae39c 100644
--- a/app/src/main/java/com/nextcloud/client/network/ConnectivityService.java
+++ b/app/src/main/java/com/nextcloud/client/network/ConnectivityService.java
@@ -1,23 +1,9 @@
/*
- * Nextcloud Android client application
+ * Nextcloud - Android Client
*
- * @author Chris Narkiewicz
- * Copyright (C) 2020 Chris Narkiewicz
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published by
- * the Free Software Foundation, either version 3 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 Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
+ * SPDX-FileCopyrightText: 2020 Chris Narkiewicz
+ * SPDX-License-Identifier: AGPL-3.0-or-later
*/
-
package com.nextcloud.client.network;
/**
diff --git a/app/src/main/java/com/nextcloud/ui/ImageDetailFragment.kt b/app/src/main/java/com/nextcloud/ui/ImageDetailFragment.kt
index 95b35e8170..8fc1890063 100644
--- a/app/src/main/java/com/nextcloud/ui/ImageDetailFragment.kt
+++ b/app/src/main/java/com/nextcloud/ui/ImageDetailFragment.kt
@@ -1,22 +1,9 @@
/*
- * Nextcloud Android client application
+ * Nextcloud - Android Client
*
- * @author ZetaTom
- * Copyright (C) 2023 ZetaTom
- * Copyright (C) 2023 Nextcloud GmbH
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published by
- * the Free Software Foundation, either version 3 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 Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
+ * SPDX-FileCopyrightText: 2023 ZetaTom
+ * SPDX-FileCopyrightText: 2023 Nextcloud GmbH
+ * SPDX-License-Identifier: AGPL-3.0-or-later
*/
package com.nextcloud.ui
diff --git a/app/src/main/java/com/nextcloud/utils/ShortcutUtil.kt b/app/src/main/java/com/nextcloud/utils/ShortcutUtil.kt
index b45432c794..16b8bc3898 100644
--- a/app/src/main/java/com/nextcloud/utils/ShortcutUtil.kt
+++ b/app/src/main/java/com/nextcloud/utils/ShortcutUtil.kt
@@ -1,24 +1,11 @@
/*
- * Nextcloud Android client application
+ * Nextcloud - Android Client
*
- * @author Felix Nüsse
- *
- * Copyright (C) 2022 Felix Nüsse
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
- * License as published by the Free Software Foundation; either
- * version 3 of the License, or 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 AFFERO GENERAL PUBLIC LICENSE for more details.
- *
- * You should have received a copy of the GNU Affero General Public
- * License along with this program. If not, see .
+ * SPDX-FileCopyrightText: 2023 Alper Ozturk
+ * SPDX-FileCopyrightText: 2022 Álvaro Brey
+ * SPDX-FileCopyrightText: 2022 Felix Nüsse
+ * SPDX-License-Identifier: AGPL-3.0-or-later
*/
-
package com.nextcloud.utils
import android.app.PendingIntent
diff --git a/app/src/main/java/com/nmc/android/ui/LauncherActivity.kt b/app/src/main/java/com/nmc/android/ui/LauncherActivity.kt
index 0573b12ecc..db2068781d 100644
--- a/app/src/main/java/com/nmc/android/ui/LauncherActivity.kt
+++ b/app/src/main/java/com/nmc/android/ui/LauncherActivity.kt
@@ -1,23 +1,11 @@
/*
- * Nextcloud Android client application
+ * Nextcloud - Android Client
*
- * @author TSI-mc
- * Copyright (C) 2023 TSI-mc
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published by
- * the Free Software Foundation, either version 3 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 Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
+ * SPDX-FileCopyrightText: 2023 Alper Ozturk
+ * SPDX-FileCopyrightText: 2023 Andy Scherzinger
+ * SPDX-FileCopyrightText: 2023 TSI-mc
+ * SPDX-License-Identifier: AGPL-3.0-or-later
*/
-
package com.nmc.android.ui
import android.content.Intent
diff --git a/app/src/main/java/com/owncloud/android/datamodel/FilesystemDataProvider.java b/app/src/main/java/com/owncloud/android/datamodel/FilesystemDataProvider.java
index 92cc7b19c9..6e088e7211 100644
--- a/app/src/main/java/com/owncloud/android/datamodel/FilesystemDataProvider.java
+++ b/app/src/main/java/com/owncloud/android/datamodel/FilesystemDataProvider.java
@@ -1,21 +1,9 @@
/*
- * Nextcloud Android client application
+ * Nextcloud - Android Client
*
- * Copyright (C) 2017 Mario Danic
- * Copyright (C) 2017 Nextcloud.
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
- * License as published by the Free Software Foundation; either
- * version 3 of the License, or 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 AFFERO GENERAL PUBLIC LICENSE for more details.
- *
- * You should have received a copy of the GNU Affero General Public
- * License along with this program. If not, see .
+ * SPDX-FileCopyrightText: 2017 Mario Danic
+ * SPDX-FileCopyrightText: 2017 Nextcloud GmbH
+ * SPDX-License-Identifier: AGPL-3.0-or-later
*/
package com.owncloud.android.datamodel;
diff --git a/app/src/main/java/com/owncloud/android/ui/activity/CopyToClipboardActivity.kt b/app/src/main/java/com/owncloud/android/ui/activity/CopyToClipboardActivity.kt
index 197a0b97a3..2fdd965173 100644
--- a/app/src/main/java/com/owncloud/android/ui/activity/CopyToClipboardActivity.kt
+++ b/app/src/main/java/com/owncloud/android/ui/activity/CopyToClipboardActivity.kt
@@ -1,22 +1,8 @@
/*
- * ownCloud Android client application
+ * Nextcloud - Android Client
*
- * @author David A. Velasco
- * @author Andy Scherzinger
- * Copyright (C) 2015 ownCloud Inc.
- * Copyright (C) 2018 Andy Scherzinger
- *
- * 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 .
+ * SPDX-FileCopyrightText: 2023 Alper Ozturk
+ * SPDX-License-Identifier: AGPL-3.0-or-later
*/
package com.owncloud.android.ui.activity
diff --git a/app/src/main/java/com/owncloud/android/ui/activity/FolderPickerActivity.kt b/app/src/main/java/com/owncloud/android/ui/activity/FolderPickerActivity.kt
index 18abd8d851..0961de2671 100644
--- a/app/src/main/java/com/owncloud/android/ui/activity/FolderPickerActivity.kt
+++ b/app/src/main/java/com/owncloud/android/ui/activity/FolderPickerActivity.kt
@@ -1,21 +1,9 @@
/*
- * ownCloud Android client application
- * @author TSI-mc
- * Copyright (C) 2016 ownCloud Inc.
- * Copyright (C) 2023 TSI-mc
- *
- * 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 .
+ * Nextcloud - Android Client
*
+ * SPDX-FileCopyrightText: 2023 TSI-mc
+ * SPDX-FileCopyrightText: 2022 Álvaro Brey
+ * SPDX-License-Identifier: AGPL-3.0-or-later
*/
package com.owncloud.android.ui.activity
diff --git a/app/src/main/java/com/owncloud/android/ui/activity/ManageSpaceActivity.kt b/app/src/main/java/com/owncloud/android/ui/activity/ManageSpaceActivity.kt
index dc2c56bd58..909dd0d581 100644
--- a/app/src/main/java/com/owncloud/android/ui/activity/ManageSpaceActivity.kt
+++ b/app/src/main/java/com/owncloud/android/ui/activity/ManageSpaceActivity.kt
@@ -1,21 +1,8 @@
/*
- * ownCloud Android client application
- *
- * @author masensio
- * Copyright (C) 2016 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 .
+ * Nextcloud - Android Client
*
+ * SPDX-FileCopyrightText: 2022 Álvaro Brey
+ * SPDX-License-Identifier: AGPL-3.0-or-later
*/
package com.owncloud.android.ui.activity
diff --git a/app/src/main/java/com/owncloud/android/ui/activity/PassCodeActivity.kt b/app/src/main/java/com/owncloud/android/ui/activity/PassCodeActivity.kt
index db7f1f54a2..282cc7c139 100644
--- a/app/src/main/java/com/owncloud/android/ui/activity/PassCodeActivity.kt
+++ b/app/src/main/java/com/owncloud/android/ui/activity/PassCodeActivity.kt
@@ -1,25 +1,10 @@
/*
- * ownCloud Android client application
- *
- * @author Bartek Przybylski
- * @author masensio
- * @author David A. Velasco
- * Copyright (C) 2011 Bartek Przybylski
- * Copyright (C) 2015 ownCloud Inc.
- * Copyright (C) 2020 Kwon Yuna
- *
- * 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 .
+ * Nextcloud - Android Client
*
+ * SPDX-FileCopyrightText: 2023 Alper Ozturk
+ * SPDX-FileCopyrightText: 2015 ownCloud Inc.
+ * SPDX-FileCopyrightText: 2011 Bartek Przybylski
+ * SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later
*/
package com.owncloud.android.ui.activity
diff --git a/app/src/main/java/com/owncloud/android/ui/adapter/UnifiedSearchFooterViewHolder.kt b/app/src/main/java/com/owncloud/android/ui/adapter/UnifiedSearchFooterViewHolder.kt
index d4cb9d1d91..61c49765d5 100644
--- a/app/src/main/java/com/owncloud/android/ui/adapter/UnifiedSearchFooterViewHolder.kt
+++ b/app/src/main/java/com/owncloud/android/ui/adapter/UnifiedSearchFooterViewHolder.kt
@@ -1,23 +1,9 @@
/*
+ * Nextcloud - Android Client
*
- * Nextcloud Android client application
- *
- * @author Álvaro Brey Vilas
- * Copyright (C) 2021 Álvaro Brey Vilas
- * Copyright (C) 2021 Nextcloud GmbH
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published by
- * the Free Software Foundation, either version 3 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 Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
+ * SPDX-FileCopyrightText: 2021 Álvaro Brey
+ * SPDX-FileCopyrightText: 2021 Nextcloud GmbH
+ * SPDX-License-Identifier: AGPL-3.0-or-later
*/
package com.owncloud.android.ui.adapter
diff --git a/app/src/main/java/com/owncloud/android/ui/asynctasks/GetRemoteFileTask.kt b/app/src/main/java/com/owncloud/android/ui/asynctasks/GetRemoteFileTask.kt
index 3120f07ce2..568bcfc934 100644
--- a/app/src/main/java/com/owncloud/android/ui/asynctasks/GetRemoteFileTask.kt
+++ b/app/src/main/java/com/owncloud/android/ui/asynctasks/GetRemoteFileTask.kt
@@ -1,21 +1,8 @@
/*
- * Nextcloud Android client application
+ * Nextcloud - Android Client
*
- * @author Chris Narkiewicz
- * Copyright (C) 2020 Chris Narkiewicz
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published by
- * the Free Software Foundation, either version 3 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 Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
+ * SPDX-FileCopyrightText: 2020 Chris Narkiewicz
+ * SPDX-License-Identifier: AGPL-3.0-or-later
*/
package com.owncloud.android.ui.asynctasks
diff --git a/app/src/main/java/com/owncloud/android/ui/dialog/AccountRemovalDialog.kt b/app/src/main/java/com/owncloud/android/ui/dialog/AccountRemovalDialog.kt
index 8498dbf7d1..e04d859440 100644
--- a/app/src/main/java/com/owncloud/android/ui/dialog/AccountRemovalDialog.kt
+++ b/app/src/main/java/com/owncloud/android/ui/dialog/AccountRemovalDialog.kt
@@ -1,26 +1,11 @@
/*
- * Nextcloud Android client application
+ * Nextcloud - Android Client
*
- * @author ZetaTom
- * @author Tobias Kaminsky
- * Copyright (C) 2023 ZetaTom
- * Copyright (C) 2020 Tobias Kaminsky
- * Copyright (C) 2020 Nextcloud GmbH
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published by
- * the Free Software Foundation, either version 3 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 Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
+ * SPDX-FileCopyrightText: 2023 ZetaTom
+ * SPDX-FileCopyrightText: 2020 Tobias Kaminsky
+ * SPDX-FileCopyrightText: 2020-2023 Nextcloud GmbH
+ * SPDX-License-Identifier: AGPL-3.0-or-later
*/
-
package com.owncloud.android.ui.dialog
import android.app.Dialog
diff --git a/app/src/main/java/com/owncloud/android/ui/dialog/CreateFolderDialogFragment.kt b/app/src/main/java/com/owncloud/android/ui/dialog/CreateFolderDialogFragment.kt
index a8eecc4640..958d231cda 100644
--- a/app/src/main/java/com/owncloud/android/ui/dialog/CreateFolderDialogFragment.kt
+++ b/app/src/main/java/com/owncloud/android/ui/dialog/CreateFolderDialogFragment.kt
@@ -1,21 +1,12 @@
/*
- * ownCloud Android client application
- *
- * @author David A. Velasco
- * Copyright (C) 2015 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 .
+ * Nextcloud - Android Client
*
+ * SPDX-FileCopyrightText: 2023 Alper Ozturk
+ * SPDX-FileCopyrightText: 2022 Álvaro Brey
+ * SPDX-FileCopyrightText: 2018 Tobias Kaminsky
+ * SPDX-FileCopyrightText: 2015 David A. Velasco
+ * SPDX-FileCopyrightText: 2015 ownCloud Inc.
+ * SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later
*/
package com.owncloud.android.ui.dialog
diff --git a/app/src/main/java/com/owncloud/android/ui/dialog/ExpirationDatePickerDialogFragment.kt b/app/src/main/java/com/owncloud/android/ui/dialog/ExpirationDatePickerDialogFragment.kt
index 22223b1990..e43b325af5 100644
--- a/app/src/main/java/com/owncloud/android/ui/dialog/ExpirationDatePickerDialogFragment.kt
+++ b/app/src/main/java/com/owncloud/android/ui/dialog/ExpirationDatePickerDialogFragment.kt
@@ -1,24 +1,14 @@
/*
- * ownCloud Android client application
+ * Nextcloud - Android Client
*
- * @author David A. Velasco
- * @author Andy Scherzinger
- * @author TSI-mc
- * Copyright (C) 2015 ownCloud Inc.
- * Copyright (C) 2018 Andy Scherzinger
- * Copyright (C) 2018 TSI-mc
- *
- * 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 .
+ * SPDX-FileCopyrightText: 2023 Alper Ozturk
+ * SPDX-FileCopyrightText: 2022 Álvaro Brey
+ * SPDX-FileCopyrightText: 2021 2018 TSI-mc
+ * SPDX-FileCopyrightText: 2018 Tobias Kaminsky
+ * SPDX-FileCopyrightText: 2018 Andy Scherzinger
+ * SPDX-FileCopyrightText: 2015 David A. Velasco
+ * SPDX-FileCopyrightText: 2015 ownCloud Inc.
+ * SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later
*/
package com.owncloud.android.ui.dialog
diff --git a/app/src/main/java/com/owncloud/android/ui/dialog/IndeterminateProgressDialog.kt b/app/src/main/java/com/owncloud/android/ui/dialog/IndeterminateProgressDialog.kt
index 4722796e9c..1d75342193 100644
--- a/app/src/main/java/com/owncloud/android/ui/dialog/IndeterminateProgressDialog.kt
+++ b/app/src/main/java/com/owncloud/android/ui/dialog/IndeterminateProgressDialog.kt
@@ -1,22 +1,11 @@
-/**
- * ownCloud Android client application
- *
- * Copyright (C) 2015 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 //www.gnu.org/licenses/>.
+/*
+ * Nextcloud - Android Client
*
+ * SPDX-FileCopyrightText: 2023 Alper Ozturk
+ * SPDX-FileCopyrightText: 2015 David A. Velasco
+ * SPDX-FileCopyrightText: 2015 ownCloud Inc.
+ * SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later
*/
-
@file:Suppress("DEPRECATION")
package com.owncloud.android.ui.dialog
diff --git a/app/src/main/java/com/owncloud/android/ui/dialog/LoadingDialog.kt b/app/src/main/java/com/owncloud/android/ui/dialog/LoadingDialog.kt
index a1854907e9..c3ca59c3b7 100644
--- a/app/src/main/java/com/owncloud/android/ui/dialog/LoadingDialog.kt
+++ b/app/src/main/java/com/owncloud/android/ui/dialog/LoadingDialog.kt
@@ -1,20 +1,10 @@
/*
- * ownCloud Android client application
- *
- * Copyright (C) 2015 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 .
+ * Nextcloud - Android Client
*
+ * SPDX-FileCopyrightText: 2023 Alper Ozturk
+ * SPDX-FileCopyrightText: 2015 masensio
+ * SPDX-FileCopyrightText: 2015 ownCloud Inc.
+ * SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later
*/
package com.owncloud.android.ui.dialog
diff --git a/app/src/main/java/com/owncloud/android/ui/dialog/SharePasswordDialogFragment.kt b/app/src/main/java/com/owncloud/android/ui/dialog/SharePasswordDialogFragment.kt
index 5795076df8..2b8e9dde57 100644
--- a/app/src/main/java/com/owncloud/android/ui/dialog/SharePasswordDialogFragment.kt
+++ b/app/src/main/java/com/owncloud/android/ui/dialog/SharePasswordDialogFragment.kt
@@ -1,22 +1,13 @@
/*
- * ownCloud Android client application
+ * Nextcloud - Android Client
*
- * @author masensio
- * @author Andy Scherzinger
- * Copyright (C) 2015 ownCloud GmbH.
- * Copyright (C) 2018 Andy Scherzinger
- *
- * 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 .
+ * SPDX-FileCopyrightText: 2023 Alper Ozturk
+ * SPDX-FileCopyrightText: 2022 Álvaro Brey
+ * SPDX-FileCopyrightText: 2017-2020 Tobias Kaminsky
+ * SPDX-FileCopyrightText: 2018 Andy Scherzinger
+ * SPDX-FileCopyrightText: 2015 masensio
+ * SPDX-FileCopyrightText: 2015 ownCloud Inc.
+ * SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later
*/
package com.owncloud.android.ui.dialog
diff --git a/app/src/main/java/com/owncloud/android/ui/events/ChangeMenuEvent.kt b/app/src/main/java/com/owncloud/android/ui/events/ChangeMenuEvent.kt
index c832ddcb0c..2d11080cf2 100644
--- a/app/src/main/java/com/owncloud/android/ui/events/ChangeMenuEvent.kt
+++ b/app/src/main/java/com/owncloud/android/ui/events/ChangeMenuEvent.kt
@@ -1,21 +1,9 @@
-/**
- * Nextcloud Android client application
+/*
+ * Nextcloud - Android Client
*
- * @author Mario Danic
- * Copyright (C) 2017 Mario Danic
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published by
- * the Free Software Foundation, either version 3 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 Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see //www.gnu.org/licenses/>.
+ * SPDX-FileCopyrightText: 2017 Mario Danic
+ * SPDX-FileCopyrightText: 2017 Nextcloud GmbH
+ * SPDX-License-Identifier: AGPL-3.0-or-later
*/
package com.owncloud.android.ui.events
diff --git a/app/src/main/java/com/owncloud/android/ui/events/DummyDrawerEvent.kt b/app/src/main/java/com/owncloud/android/ui/events/DummyDrawerEvent.kt
index a6ef22f65b..3912216b11 100644
--- a/app/src/main/java/com/owncloud/android/ui/events/DummyDrawerEvent.kt
+++ b/app/src/main/java/com/owncloud/android/ui/events/DummyDrawerEvent.kt
@@ -1,21 +1,9 @@
-/**
- * Nextcloud Android client application
+/*
+ * Nextcloud - Android Client
*
- * @author Mario Danic
- * Copyright (C) 2017 Mario Danic
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published by
- * the Free Software Foundation, either version 3 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 Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see //www.gnu.org/licenses/>.
+ * SPDX-FileCopyrightText: 2017 Mario Danic
+ * SPDX-FileCopyrightText: 2017 Nextcloud GmbH
+ * SPDX-License-Identifier: AGPL-3.0-or-later
*/
package com.owncloud.android.ui.events
diff --git a/app/src/main/java/com/owncloud/android/ui/events/FavoriteEvent.kt b/app/src/main/java/com/owncloud/android/ui/events/FavoriteEvent.kt
index 6a51e97916..3b4808dfb1 100644
--- a/app/src/main/java/com/owncloud/android/ui/events/FavoriteEvent.kt
+++ b/app/src/main/java/com/owncloud/android/ui/events/FavoriteEvent.kt
@@ -1,21 +1,9 @@
-/**
- * Nextcloud Android client application
+/*
+ * Nextcloud - Android Client
*
- * @author Mario Danic
- * Copyright (C) 2017 Mario Danic
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published by
- * the Free Software Foundation, either version 3 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 Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see //www.gnu.org/licenses/>.
+ * SPDX-FileCopyrightText: 2017 Mario Danic
+ * SPDX-FileCopyrightText: 2017 Nextcloud GmbH
+ * SPDX-License-Identifier: AGPL-3.0-or-later
*/
package com.owncloud.android.ui.events
diff --git a/app/src/main/java/com/owncloud/android/ui/events/SearchEvent.kt b/app/src/main/java/com/owncloud/android/ui/events/SearchEvent.kt
index 966687d2e0..2144e700a8 100644
--- a/app/src/main/java/com/owncloud/android/ui/events/SearchEvent.kt
+++ b/app/src/main/java/com/owncloud/android/ui/events/SearchEvent.kt
@@ -1,21 +1,9 @@
/*
- * Nextcloud Android client application
+ * Nextcloud - Android Client
*
- * @author Mario Danic
- * Copyright (C) 2017 Mario Danic
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published by
- * the Free Software Foundation, either version 3 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 Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
+ * SPDX-FileCopyrightText: 2017 Mario Danic
+ * SPDX-FileCopyrightText: 2017 Nextcloud GmbH
+ * SPDX-License-Identifier: AGPL-3.0-or-later
*/
package com.owncloud.android.ui.events
diff --git a/app/src/main/java/com/owncloud/android/ui/events/SyncEventFinished.kt b/app/src/main/java/com/owncloud/android/ui/events/SyncEventFinished.kt
index 9d0ce00632..3b6f3ce36b 100644
--- a/app/src/main/java/com/owncloud/android/ui/events/SyncEventFinished.kt
+++ b/app/src/main/java/com/owncloud/android/ui/events/SyncEventFinished.kt
@@ -1,21 +1,9 @@
/*
- * Nextcloud Android client application
+ * Nextcloud - Android Client
*
- * @author Mario Danic
- * Copyright (C) 2017 Mario Danic
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published by
- * the Free Software Foundation, either version 3 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 Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
+ * SPDX-FileCopyrightText: 2017 Mario Danic
+ * SPDX-FileCopyrightText: 2017 Nextcloud GmbH
+ * SPDX-License-Identifier: AGPL-3.0-or-later
*/
package com.owncloud.android.ui.events
diff --git a/app/src/main/java/com/owncloud/android/ui/events/TokenPushEvent.kt b/app/src/main/java/com/owncloud/android/ui/events/TokenPushEvent.kt
index fc93aebc31..3edf8a1e1e 100644
--- a/app/src/main/java/com/owncloud/android/ui/events/TokenPushEvent.kt
+++ b/app/src/main/java/com/owncloud/android/ui/events/TokenPushEvent.kt
@@ -1,21 +1,9 @@
/*
- * Nextcloud Android client application
+ * Nextcloud - Android Client
*
- * @author Mario Danic
- * Copyright (C) 2017 Mario Danic
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published by
- * the Free Software Foundation, either version 3 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 Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
+ * SPDX-FileCopyrightText: 2017 Mario Danic
+ * SPDX-FileCopyrightText: 2017 Nextcloud GmbH
+ * SPDX-License-Identifier: AGPL-3.0-or-later
*/
package com.owncloud.android.ui.events
diff --git a/app/src/main/java/com/owncloud/android/ui/events/VCardToggleEvent.kt b/app/src/main/java/com/owncloud/android/ui/events/VCardToggleEvent.kt
index 706ae9d148..15c6cc63e4 100644
--- a/app/src/main/java/com/owncloud/android/ui/events/VCardToggleEvent.kt
+++ b/app/src/main/java/com/owncloud/android/ui/events/VCardToggleEvent.kt
@@ -1,21 +1,9 @@
-/**
- * Nextcloud Android client application
+/*
+ * Nextcloud - Android Client
*
- * @author Mario Danic
- * Copyright (C) 2017 Mario Danic
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published by
- * the Free Software Foundation, either version 3 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 Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see //www.gnu.org/licenses/>.
+ * SPDX-FileCopyrightText: 2017 Mario Danic
+ * SPDX-FileCopyrightText: 2017 Nextcloud GmbH
+ * SPDX-License-Identifier: AGPL-3.0-or-later
*/
package com.owncloud.android.ui.events
diff --git a/app/src/main/java/com/owncloud/android/ui/helpers/UriUploader.kt b/app/src/main/java/com/owncloud/android/ui/helpers/UriUploader.kt
index a858b321e3..ef791a1727 100644
--- a/app/src/main/java/com/owncloud/android/ui/helpers/UriUploader.kt
+++ b/app/src/main/java/com/owncloud/android/ui/helpers/UriUploader.kt
@@ -1,21 +1,12 @@
/*
- * ownCloud Android client application
- *
- * Copyright (C) 2016 ownCloud Inc.
- * Copyright (C) 2022 Nextcloud GmbH
- *
- * 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 .
+ * Nextcloud - Android Client
*
+ * SPDX-FileCopyrightText: 2024 Alper Ozturk
+ * SPDX-FileCopyrightText: 2022 Álvaro Brey
+ * SPDX-FileCopyrightText: 2018-2021 Tobias Kaminsky
+ * SPDX-FileCopyrightText: 2022 Nextcloud GmbH
+ * SPDX-FileCopyrightText: 2016 ownCloud Inc.
+ * SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later
*/
package com.owncloud.android.ui.helpers
diff --git a/app/src/main/java/com/owncloud/android/ui/preview/PreviewMediaActivity.kt b/app/src/main/java/com/owncloud/android/ui/preview/PreviewMediaActivity.kt
index 74350f20aa..0da228a12c 100644
--- a/app/src/main/java/com/owncloud/android/ui/preview/PreviewMediaActivity.kt
+++ b/app/src/main/java/com/owncloud/android/ui/preview/PreviewMediaActivity.kt
@@ -1,28 +1,14 @@
/*
- * ownCloud Android client application
+ * Nextcloud - Android Client
*
- * @author David A. Velasco
- * @author Chris Narkiewicz
- * @author Andy Scherzinger
- * @author TSI-mc
- * @author Parneet Singh
- * Copyright (C) 2016 ownCloud Inc.
- * Copyright (C) 2019 Chris Narkiewicz
- * Copyright (C) 2020 Andy Scherzinger
- * Copyright (C) 2023 TSI-mc
- * Copyright (C) Parneet Singh
- *
- * 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 .
+ * SPDX-FileCopyrightText: 2023 Parneet Singh
+ * SPDX-FileCopyrightText: 2023 Alper Ozturk
+ * SPDX-FileCopyrightText: 2023 TSI-mc
+ * SPDX-FileCopyrightText: 2020 Andy Scherzinger
+ * SPDX-FileCopyrightText: 2019 Chris Narkiewicz
+ * SPDX-FileCopyrightText: 2016 David A. Velasco
+ * SPDX-FileCopyrightText: 2016 ownCloud Inc.
+ * SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later
*/
package com.owncloud.android.ui.preview
diff --git a/app/src/main/java/com/owncloud/android/ui/unifiedsearch/GetSearchProvidersTask.kt b/app/src/main/java/com/owncloud/android/ui/unifiedsearch/GetSearchProvidersTask.kt
index 38dc196a3a..d86946e245 100644
--- a/app/src/main/java/com/owncloud/android/ui/unifiedsearch/GetSearchProvidersTask.kt
+++ b/app/src/main/java/com/owncloud/android/ui/unifiedsearch/GetSearchProvidersTask.kt
@@ -1,21 +1,8 @@
/*
- * Nextcloud Android client application
+ * Nextcloud - Android Client
*
- * @author Chris Narkiewicz
- * Copyright (C) 2020 Chris Narkiewicz
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published by
- * the Free Software Foundation, either version 3 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 Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
+ * SPDX-FileCopyrightText: 2020 Chris Narkiewicz
+ * SPDX-License-Identifier: AGPL-3.0-or-later
*/
package com.owncloud.android.ui.unifiedsearch
diff --git a/app/src/main/java/com/owncloud/android/ui/unifiedsearch/SearchOnProviderTask.kt b/app/src/main/java/com/owncloud/android/ui/unifiedsearch/SearchOnProviderTask.kt
index 8bfc2ba88e..6186a5ff07 100644
--- a/app/src/main/java/com/owncloud/android/ui/unifiedsearch/SearchOnProviderTask.kt
+++ b/app/src/main/java/com/owncloud/android/ui/unifiedsearch/SearchOnProviderTask.kt
@@ -1,21 +1,8 @@
/*
- * Nextcloud Android client application
+ * Nextcloud - Android Client
*
- * @author Chris Narkiewicz
- * Copyright (C) 2020 Chris Narkiewicz
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published by
- * the Free Software Foundation, either version 3 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 Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
+ * SPDX-FileCopyrightText: 2020 Chris Narkiewicz
+ * SPDX-License-Identifier: AGPL-3.0-or-later
*/
package com.owncloud.android.ui.unifiedsearch
diff --git a/app/src/main/java/com/owncloud/android/ui/unifiedsearch/UnifiedSearchViewModel.kt b/app/src/main/java/com/owncloud/android/ui/unifiedsearch/UnifiedSearchViewModel.kt
index c36b5d265c..8dd9800d36 100644
--- a/app/src/main/java/com/owncloud/android/ui/unifiedsearch/UnifiedSearchViewModel.kt
+++ b/app/src/main/java/com/owncloud/android/ui/unifiedsearch/UnifiedSearchViewModel.kt
@@ -1,21 +1,8 @@
/*
- * Nextcloud Android client application
+ * Nextcloud - Android Client
*
- * @author Chris Narkiewicz
- * Copyright (C) 2020 Chris Narkiewicz
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published by
- * the Free Software Foundation, either version 3 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 Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
+ * SPDX-FileCopyrightText: 2020 Chris Narkiewicz
+ * SPDX-License-Identifier: AGPL-3.0-or-later
*/
package com.owncloud.android.ui.unifiedsearch
diff --git a/app/src/main/java/com/owncloud/android/utils/DataHolderUtil.java b/app/src/main/java/com/owncloud/android/utils/DataHolderUtil.java
index 24f0e71681..4114140efc 100644
--- a/app/src/main/java/com/owncloud/android/utils/DataHolderUtil.java
+++ b/app/src/main/java/com/owncloud/android/utils/DataHolderUtil.java
@@ -1,21 +1,9 @@
-/**
- * Nextcloud Android client application
+/*
+ * Nextcloud - Android Client
*
- * @author Mario Danic
- * Copyright (C) 2017 Mario Danic
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published by
- * the Free Software Foundation, either version 3 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 Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
+ * SPDX-FileCopyrightText: 2017 Mario Danic
+ * SPDX-FileCopyrightText: 2017 Nextcloud GmbH
+ * SPDX-License-Identifier: AGPL-3.0-or-later
*/
package com.owncloud.android.utils;
diff --git a/app/src/main/java/com/owncloud/android/utils/KeyboardUtils.kt b/app/src/main/java/com/owncloud/android/utils/KeyboardUtils.kt
index 19d337d182..f8a742b9a6 100644
--- a/app/src/main/java/com/owncloud/android/utils/KeyboardUtils.kt
+++ b/app/src/main/java/com/owncloud/android/utils/KeyboardUtils.kt
@@ -1,27 +1,11 @@
/*
- * Nextcloud Android client application
- *
- * @author ZetaTom
- * @author Álvaro Brey
- * Copyright (C) 2023 ZetaTom
- * Copyright (C) 2022 Álvaro Brey
- * Copyright (C) 2022 Nextcloud GmbH
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
- * License as published by the Free Software Foundation; either
- * version 3 of the License, or 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 AFFERO GENERAL PUBLIC LICENSE for more details.
- *
- * You should have received a copy of the GNU Affero General Public
- * License along with this program. If not, see .
+ * Nextcloud - Android Client
*
+ * SPDX-FileCopyrightText: 2023 ZetaTom
+ * SPDX-FileCopyrightText: 2022 Álvaro Brey
+ * SPDX-FileCopyrightText: 2022-2023 Nextcloud GmbH
+ * SPDX-License-Identifier: AGPL-3.0-or-later
*/
-
package com.owncloud.android.utils
import android.view.Window
diff --git a/app/src/main/java/com/owncloud/android/utils/PermissionUtil.kt b/app/src/main/java/com/owncloud/android/utils/PermissionUtil.kt
index 78b3396e40..32139657d6 100644
--- a/app/src/main/java/com/owncloud/android/utils/PermissionUtil.kt
+++ b/app/src/main/java/com/owncloud/android/utils/PermissionUtil.kt
@@ -1,26 +1,11 @@
/*
- * Nextcloud Android client application
+ * Nextcloud - Android Client
*
- * @author Álvaro Brey Vilas
- * @author Andy Scherzinger
- * Copyright (C) 2021 Álvaro Brey Vilas
- * Copyright (C) 2021 Nextcloud GmbH
- * Copyright (C) 2015 Andy Scherzinger
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published by
- * the Free Software Foundation, either version 3 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 Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
+ * SPDX-FileCopyrightText: 2021 Álvaro Brey
+ * SPDX-FileCopyrightText: 2021 Nextcloud GmbH
+ * SPDX-FileCopyrightText: 2015 Andy Scherzinger
+ * SPDX-License-Identifier: AGPL-3.0-or-later
*/
-
package com.owncloud.android.utils
import android.Manifest
diff --git a/app/src/main/java/com/owncloud/android/utils/UriUtils.kt b/app/src/main/java/com/owncloud/android/utils/UriUtils.kt
index 080bece545..65845b93fa 100644
--- a/app/src/main/java/com/owncloud/android/utils/UriUtils.kt
+++ b/app/src/main/java/com/owncloud/android/utils/UriUtils.kt
@@ -1,19 +1,11 @@
-/**
- * ownCloud Android client application
+/*
+ * Nextcloud - Android Client
*
- * Copyright (C) 2015 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 //www.gnu.org/licenses/>.
+ * SPDX-FileCopyrightText: 2023 Álvaro Brey
+ * SPDX-FileCopyrightText: 2021 Tobias Kaminsky
+ * SPDX-FileCopyrightText: 2018 Nextcloud GmbH
+ * SPDX-FileCopyrightText: 2015 ownCloud Inc.
+ * SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later
*/
package com.owncloud.android.utils
diff --git a/app/src/main/java/com/owncloud/android/utils/svg/MenuSimpleTarget.java b/app/src/main/java/com/owncloud/android/utils/svg/MenuSimpleTarget.java
index 9f2d986b72..055afddacf 100644
--- a/app/src/main/java/com/owncloud/android/utils/svg/MenuSimpleTarget.java
+++ b/app/src/main/java/com/owncloud/android/utils/svg/MenuSimpleTarget.java
@@ -1,33 +1,17 @@
-/**
- * Nextcloud Android client application
+/*
+ * Nextcloud - Android Client
*
- * @author Alejandro Bautista
- * Copyright (C) 2017 Andy Scherzinger
- * Copyright (C) 2017 Mario Danic
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published by
- * the Free Software Foundation, either version 3 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 Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
+ * SPDX-FileCopyrightText: 2017 Alejandro Morales
+ * SPDX-License-Identifier: AGPL-3.0-or-later
*/
-
package com.owncloud.android.utils.svg;
import com.bumptech.glide.request.target.SimpleTarget;
/**
- * SimpleTarget for MenuItems
+ * SimpleTarget for MenuItems.
*/
-
public abstract class MenuSimpleTarget extends SimpleTarget{
private final int mIdMenuItem;
@@ -37,7 +21,6 @@ public abstract class MenuSimpleTarget extends SimpleTarget{
this.mIdMenuItem=idMenuItem;
}
-
public int getIdMenuItem() {
return mIdMenuItem;
}
diff --git a/app/src/main/java/org/nextcloud/providers/cursors/FileCursor.java b/app/src/main/java/org/nextcloud/providers/cursors/FileCursor.java
index af8edfe465..0a3d2ad69a 100644
--- a/app/src/main/java/org/nextcloud/providers/cursors/FileCursor.java
+++ b/app/src/main/java/org/nextcloud/providers/cursors/FileCursor.java
@@ -1,23 +1,12 @@
/*
- * nextCloud Android client application
- *
- * @author Bartosz Przybylski
- * Copyright (C) 2016 Bartosz Przybylski
- *
- * 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 .
+ * Nextcloud - Android Client
*
+ * SPDX-FileCopyrightText: 2020 Tobias Kaminsky
+ * SPDX-FileCopyrightText: 2019 Jens Mueller
+ * SPDX-FileCopyrightText: 2016 Iskra Delta
+ * SPDX-FileCopyrightText: 2015 Bartosz Przybylski
+ * SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later
*/
-
package org.nextcloud.providers.cursors;
import android.database.MatrixCursor;
diff --git a/app/src/main/java/org/nextcloud/providers/cursors/RootCursor.java b/app/src/main/java/org/nextcloud/providers/cursors/RootCursor.java
index 2e5a1cd8c2..e154050fa8 100644
--- a/app/src/main/java/org/nextcloud/providers/cursors/RootCursor.java
+++ b/app/src/main/java/org/nextcloud/providers/cursors/RootCursor.java
@@ -1,23 +1,11 @@
/*
- * nextCloud Android client application
- *
- * @author Bartosz Przybylski
- * Copyright (C) 2016 Bartosz Przybylski
- *
- * 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 .
+ * Nextcloud - Android Client
*
+ * SPDX-FileCopyrightText: 2021 Chris Narkiewicz
+ * SPDX-FileCopyrightText: 2019 Jens Mueller
+ * SPDX-FileCopyrightText: 2016 Bartosz Przybylski
+ * SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later
*/
-
package org.nextcloud.providers.cursors;
import android.content.Context;
diff --git a/app/src/main/res/drawable/borderless_btn.xml b/app/src/main/res/drawable/borderless_btn.xml
index 6cc185ea0f..1e637b9f82 100644
--- a/app/src/main/res/drawable/borderless_btn.xml
+++ b/app/src/main/res/drawable/borderless_btn.xml
@@ -1,29 +1,14 @@
-
+
-
-
-
\ No newline at end of file
+
+
+
diff --git a/app/src/main/res/drawable/e2e_border.xml b/app/src/main/res/drawable/e2e_border.xml
index e2e72e7946..84577fa080 100644
--- a/app/src/main/res/drawable/e2e_border.xml
+++ b/app/src/main/res/drawable/e2e_border.xml
@@ -1,29 +1,15 @@
-
+ android:shape="rectangle">
-
+
diff --git a/app/src/main/res/drawable/ic_assistant.xml b/app/src/main/res/drawable/ic_assistant.xml
index 237c16cc01..9308c15f6e 100644
--- a/app/src/main/res/drawable/ic_assistant.xml
+++ b/app/src/main/res/drawable/ic_assistant.xml
@@ -1,24 +1,10 @@
-
+ ~ SPDX-FileCopyrightText: 2024 Alper Ozturk
+ ~ SPDX-FileCopyrightText: 2024 Nextcloud GmbH
+ ~ SPDX-License-Identifier: AGPL-3.0-or-later
+-->
.
+ ~ Nextcloud - Android Client
+ ~
+ ~ SPDX-FileCopyrightText: 2018-2024 Google LLC
+ ~ SPDX-License-Identifier: Apache-2.0
-->
-
+ android:tint="?attr/colorControlNormal"
+ android:viewportWidth="960"
+ android:viewportHeight="960">
+
diff --git a/app/src/main/res/drawable/ic_dashboard.xml b/app/src/main/res/drawable/ic_dashboard.xml
index ddff828159..cf60c988ba 100644
--- a/app/src/main/res/drawable/ic_dashboard.xml
+++ b/app/src/main/res/drawable/ic_dashboard.xml
@@ -1,35 +1,20 @@
-
-
+ ~ SPDX-FileCopyrightText: 2022 Nextcloud GmbH
+ ~ SPDX-License-Identifier: AGPL-3.0-or-later
+-->
+
+ android:height="16dp"
+ android:autoMirrored="true"
+ android:viewportWidth="16"
+ android:viewportHeight="16">
+ android:strokeLineJoin="round" />
diff --git a/app/src/main/res/drawable/ic_document_grey600.xml b/app/src/main/res/drawable/ic_document_grey600.xml
index 850b7058bb..c997f20a94 100644
--- a/app/src/main/res/drawable/ic_document_grey600.xml
+++ b/app/src/main/res/drawable/ic_document_grey600.xml
@@ -1,26 +1,16 @@
-
+ android:height="24dp"
+ android:tint="#757575"
+ android:viewportWidth="960"
+ android:viewportHeight="960">
+
diff --git a/app/src/main/res/drawable/ic_edit.xml b/app/src/main/res/drawable/ic_edit.xml
index 406f0b5f6f..328ba59488 100644
--- a/app/src/main/res/drawable/ic_edit.xml
+++ b/app/src/main/res/drawable/ic_edit.xml
@@ -1,25 +1,10 @@
-
+ ~ SPDX-FileCopyrightText: 2019 Tobias Kaminsky
+ ~ SPDX-FileCopyrightText: 2019 Nextcloud GmbH
+ ~ SPDX-License-Identifier: AGPL-3.0-or-later
+-->
- * This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General
- * Public License as published by the Free Software Foundation, either version 3 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 Affero General Public License for more
- * details.
- *
- * You should have received a copy of the GNU Affero General Public License along with this program. If not, see
- * .
+ * SPDX-FileCopyrightText: 2019 Chris Narkiewicz
+ * SPDX-FileCopyrightText: 2017 Mario Danic
+ * SPDX-License-Identifier: AGPL-3.0-or-later
*/
-
package com.owncloud.android.utils;
import android.content.Context;
diff --git a/app/src/qa/java/com/owncloud/android/utils/SecurityUtils.java b/app/src/qa/java/com/owncloud/android/utils/SecurityUtils.java
index f3d6ac234b..721f0269ba 100644
--- a/app/src/qa/java/com/owncloud/android/utils/SecurityUtils.java
+++ b/app/src/qa/java/com/owncloud/android/utils/SecurityUtils.java
@@ -1,18 +1,8 @@
-/**
- * Nextcloud Android client application
+/*
+ * Nextcloud - Android Client
*
- * @author Mario Danic Copyright (C) 2018 Mario Danic
- *
- * This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General
- * Public License as published by the Free Software Foundation, either version 3 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 Affero General Public License for more
- * details.
- *
- * You should have received a copy of the GNU Affero General Public License along with this program. If not, see
- * .
+ * SPDX-FileCopyrightText: 2018 Mario Danic
+ * SPDX-License-Identifier: AGPL-3.0-or-later
*/
package com.owncloud.android.utils;
diff --git a/app/src/test/java/com/nextcloud/client/etm/TestEtmViewModel.kt b/app/src/test/java/com/nextcloud/client/etm/TestEtmViewModel.kt
index bfcfcea1d8..ad1843ad6a 100644
--- a/app/src/test/java/com/nextcloud/client/etm/TestEtmViewModel.kt
+++ b/app/src/test/java/com/nextcloud/client/etm/TestEtmViewModel.kt
@@ -1,21 +1,8 @@
/*
- * Nextcloud Android client application
+ * Nextcloud - Android Client
*
- * @author Chris Narkiewicz
- * Copyright (C) 2020 Chris Narkiewicz
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published by
- * the Free Software Foundation, either version 3 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 Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
+ * SPDX-FileCopyrightText: 2020 Chris Narkiewicz
+ * SPDX-License-Identifier: AGPL-3.0-or-later
*/
package com.nextcloud.client.etm
diff --git a/app/src/test/java/com/nextcloud/client/jobs/BackgroundJobFactoryTest.kt b/app/src/test/java/com/nextcloud/client/jobs/BackgroundJobFactoryTest.kt
index 3bc9c77d66..a243e8e18b 100644
--- a/app/src/test/java/com/nextcloud/client/jobs/BackgroundJobFactoryTest.kt
+++ b/app/src/test/java/com/nextcloud/client/jobs/BackgroundJobFactoryTest.kt
@@ -1,21 +1,8 @@
/*
- * Nextcloud Android client application
+ * Nextcloud - Android Client
*
- * @author Chris Narkiewicz
- * Copyright (C) 2020 Chris Narkiewicz
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published by
- * the Free Software Foundation, either version 3 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 Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
+ * SPDX-FileCopyrightText: 2020 Chris Narkiewicz
+ * SPDX-License-Identifier: AGPL-3.0-or-later
*/
package com.nextcloud.client.jobs
diff --git a/app/src/test/java/com/nextcloud/client/mixins/MixinRegistryTest.kt b/app/src/test/java/com/nextcloud/client/mixins/MixinRegistryTest.kt
index d8be6f8a22..20299ecbce 100644
--- a/app/src/test/java/com/nextcloud/client/mixins/MixinRegistryTest.kt
+++ b/app/src/test/java/com/nextcloud/client/mixins/MixinRegistryTest.kt
@@ -1,22 +1,9 @@
/*
- * Nextcloud Android client application
+ * Nextcloud - Android Client
*
- * @author Chris Narkiewicz
- * Copyright (C) 2020 Chris Narkiewicz
- * Copyright (C) 2020 Nextcloud GmbH
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published by
- * the Free Software Foundation, either version 3 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 Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
+ * SPDX-FileCopyrightText: 2020 Chris Narkiewicz
+ * SPDX-FileCopyrightText: 2020 Nextcloud GmbH
+ * SPDX-License-Identifier: AGPL-3.0-or-later
*/
package com.nextcloud.client.mixins
diff --git a/app/src/test/java/com/nextcloud/client/mixins/SessionMixinTest.kt b/app/src/test/java/com/nextcloud/client/mixins/SessionMixinTest.kt
index 1f1b979cdd..97c5dac4b1 100644
--- a/app/src/test/java/com/nextcloud/client/mixins/SessionMixinTest.kt
+++ b/app/src/test/java/com/nextcloud/client/mixins/SessionMixinTest.kt
@@ -1,22 +1,9 @@
/*
- * Nextcloud Android client application
+ * Nextcloud - Android Client
*
- * @author Chris Narkiewicz
- * Copyright (C) 2020 Chris Narkiewicz
- * Copyright (C) 2020 Nextcloud GmbH
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published by
- * the Free Software Foundation, either version 3 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 Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
+ * SPDX-FileCopyrightText: 2020 Chris Narkiewicz
+ * SPDX-FileCopyrightText: 2020 Nextcloud GmbH
+ * SPDX-License-Identifier: AGPL-3.0-or-later
*/
package com.nextcloud.client.mixins
diff --git a/app/src/versionDev/java/com/owncloud/android/utils/PushUtils.java b/app/src/versionDev/java/com/owncloud/android/utils/PushUtils.java
index 8bbea47ab1..f78017106a 100644
--- a/app/src/versionDev/java/com/owncloud/android/utils/PushUtils.java
+++ b/app/src/versionDev/java/com/owncloud/android/utils/PushUtils.java
@@ -1,25 +1,10 @@
-/**
- * Nextcloud Android client application
+/*
+ * Nextcloud - Android Client
*
- * @author Mario Danic
- * @author Chris Narkiewicz
- * Copyright (C) 2017 Mario Danic
- * Copyright (C) 2019 Chris Narkiewicz
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published by
- * the Free Software Foundation, either version 3 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 Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
+ * SPDX-FileCopyrightText: 2019 Chris Narkiewicz
+ * SPDX-FileCopyrightText: 2017 Mario Danic
+ * SPDX-License-Identifier: AGPL-3.0-or-later
*/
-
package com.owncloud.android.utils;
import android.content.Context;
diff --git a/app/src/versionDev/java/com/owncloud/android/utils/SecurityUtils.java b/app/src/versionDev/java/com/owncloud/android/utils/SecurityUtils.java
index 3f25b7cdd1..721f0269ba 100644
--- a/app/src/versionDev/java/com/owncloud/android/utils/SecurityUtils.java
+++ b/app/src/versionDev/java/com/owncloud/android/utils/SecurityUtils.java
@@ -1,21 +1,8 @@
-/**
- * Nextcloud Android client application
+/*
+ * Nextcloud - Android Client
*
- * @author Mario Danic
- * Copyright (C) 2018 Mario Danic
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published by
- * the Free Software Foundation, either version 3 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 Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
+ * SPDX-FileCopyrightText: 2018 Mario Danic
+ * SPDX-License-Identifier: AGPL-3.0-or-later
*/
package com.owncloud.android.utils;