From 076bd71c1d70a50510c5fb2b0fb560931360d02e Mon Sep 17 00:00:00 2001 From: Michael Bestas Date: Thu, 2 Mar 2023 18:41:32 +0200 Subject: [PATCH] contactsbackup: Add SPDX copyright headers --- contactsbackup/Android.bp | 5 +++++ contactsbackup/build.gradle | 5 +++++ .../default-permissions_org.calyxos.backup.contacts.xml | 4 ++++ contactsbackup/lint.xml | 4 ++++ contactsbackup/src/androidTest/AndroidManifest.xml | 4 ++++ .../java/org/calyxos/backup/contacts/BackupRestoreTest.kt | 5 +++++ .../java/org/calyxos/backup/contacts/ContactUtils.kt | 5 +++++ contactsbackup/src/main/AndroidManifest.xml | 4 ++++ .../org/calyxos/backup/contacts/ContactsBackupAgent.java | 5 +++++ .../org/calyxos/backup/contacts/FullBackupFileHandler.java | 5 +++++ .../org/calyxos/backup/contacts/StartBroadcastReceiver.java | 5 +++++ .../main/java/org/calyxos/backup/contacts/VCardExporter.java | 5 +++++ .../main/java/org/calyxos/backup/contacts/VCardImporter.java | 5 +++++ contactsbackup/src/main/res/values/strings.xml | 4 ++++ .../org/calyxos/backup/contacts/ContactsBackupAgentTest.kt | 5 +++++ 15 files changed, 70 insertions(+) diff --git a/contactsbackup/Android.bp b/contactsbackup/Android.bp index e0d60206..7127a92b 100644 --- a/contactsbackup/Android.bp +++ b/contactsbackup/Android.bp @@ -1,3 +1,8 @@ +// +// SPDX-FileCopyrightText: 2020 The Calyx Institute +// SPDX-License-Identifier: Apache-2.0 +// + android_app { name: "LocalContactsBackup", srcs: [ diff --git a/contactsbackup/build.gradle b/contactsbackup/build.gradle index 71121216..85bf9bbb 100644 --- a/contactsbackup/build.gradle +++ b/contactsbackup/build.gradle @@ -1,3 +1,8 @@ +/* + * SPDX-FileCopyrightText: 2020 The Calyx Institute + * SPDX-License-Identifier: Apache-2.0 + */ + apply plugin: 'com.android.application' apply plugin: 'kotlin-android' diff --git a/contactsbackup/default-permissions_org.calyxos.backup.contacts.xml b/contactsbackup/default-permissions_org.calyxos.backup.contacts.xml index 16e8ab90..6919a6bd 100644 --- a/contactsbackup/default-permissions_org.calyxos.backup.contacts.xml +++ b/contactsbackup/default-permissions_org.calyxos.backup.contacts.xml @@ -1,4 +1,8 @@ + diff --git a/contactsbackup/lint.xml b/contactsbackup/lint.xml index db997a53..efc193ad 100644 --- a/contactsbackup/lint.xml +++ b/contactsbackup/lint.xml @@ -1,4 +1,8 @@ + diff --git a/contactsbackup/src/androidTest/AndroidManifest.xml b/contactsbackup/src/androidTest/AndroidManifest.xml index 1c51a97e..89634beb 100644 --- a/contactsbackup/src/androidTest/AndroidManifest.xml +++ b/contactsbackup/src/androidTest/AndroidManifest.xml @@ -1,4 +1,8 @@ + diff --git a/contactsbackup/src/androidTest/java/org/calyxos/backup/contacts/BackupRestoreTest.kt b/contactsbackup/src/androidTest/java/org/calyxos/backup/contacts/BackupRestoreTest.kt index 6d2d6e54..bd6f5237 100644 --- a/contactsbackup/src/androidTest/java/org/calyxos/backup/contacts/BackupRestoreTest.kt +++ b/contactsbackup/src/androidTest/java/org/calyxos/backup/contacts/BackupRestoreTest.kt @@ -1,3 +1,8 @@ +/* + * SPDX-FileCopyrightText: 2020 The Calyx Institute + * SPDX-License-Identifier: Apache-2.0 + */ + package org.calyxos.backup.contacts import android.app.backup.BackupAgent diff --git a/contactsbackup/src/androidTest/java/org/calyxos/backup/contacts/ContactUtils.kt b/contactsbackup/src/androidTest/java/org/calyxos/backup/contacts/ContactUtils.kt index 0eb79785..c6a0461f 100644 --- a/contactsbackup/src/androidTest/java/org/calyxos/backup/contacts/ContactUtils.kt +++ b/contactsbackup/src/androidTest/java/org/calyxos/backup/contacts/ContactUtils.kt @@ -1,3 +1,8 @@ +/* + * SPDX-FileCopyrightText: 2020 The Calyx Institute + * SPDX-License-Identifier: Apache-2.0 + */ + package org.calyxos.backup.contacts import android.content.ContentProviderOperation diff --git a/contactsbackup/src/main/AndroidManifest.xml b/contactsbackup/src/main/AndroidManifest.xml index 51bc8b8e..3df3c73b 100644 --- a/contactsbackup/src/main/AndroidManifest.xml +++ b/contactsbackup/src/main/AndroidManifest.xml @@ -1,4 +1,8 @@ + + Local Contacts Backup diff --git a/contactsbackup/src/test/java/org/calyxos/backup/contacts/ContactsBackupAgentTest.kt b/contactsbackup/src/test/java/org/calyxos/backup/contacts/ContactsBackupAgentTest.kt index f0bed13a..a3730405 100644 --- a/contactsbackup/src/test/java/org/calyxos/backup/contacts/ContactsBackupAgentTest.kt +++ b/contactsbackup/src/test/java/org/calyxos/backup/contacts/ContactsBackupAgentTest.kt @@ -1,3 +1,8 @@ +/* + * SPDX-FileCopyrightText: 2020 The Calyx Institute + * SPDX-License-Identifier: Apache-2.0 + */ + package org.calyxos.backup.contacts import android.Manifest.permission.READ_CONTACTS