diff --git a/.github/workflows/copyright.yml b/.github/workflows/copyright.yml new file mode 100644 index 0000000..2ac8bb9 --- /dev/null +++ b/.github/workflows/copyright.yml @@ -0,0 +1,15 @@ +# SPDX-FileCopyrightText: Estonian Information System Authority +# SPDX-License-Identifier: LGPL-2.1-or-later + +name: Copyright headers +on: + push: + branches: [ main ] + pull_request: +jobs: + copyright: + name: Check copyright headers + uses: open-eid/.github/.github/workflows/copyright.yml@b2d87c7447ebcc01beb54c84f3978a81c1d64877 # master + with: + # Vendored libdigidocpp headers and the SWIG-generated bindings + exclude: ^demoapp/libdigidocpp/include/ diff --git a/build.gradle.kts b/build.gradle.kts index f68ef7b..4923bbd 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later + // Top-level build file where you can add configuration options common to all sub-projects/modules. plugins { alias(libs.plugins.android.application) apply false diff --git a/demoapp/app/build.gradle.kts b/demoapp/app/build.gradle.kts index b399b04..e6ae5f3 100644 --- a/demoapp/app/build.gradle.kts +++ b/demoapp/app/build.gradle.kts @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later + import org.jetbrains.kotlin.gradle.dsl.JvmTarget plugins { diff --git a/demoapp/app/proguard-rules.pro b/demoapp/app/proguard-rules.pro index 481bb43..1547e8e 100644 --- a/demoapp/app/proguard-rules.pro +++ b/demoapp/app/proguard-rules.pro @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: Estonian Information System Authority +# SPDX-License-Identifier: LGPL-2.1-or-later + # Add project specific ProGuard rules here. # You can control the set of applied configuration files using the # proguardFiles setting in build.gradle. diff --git a/demoapp/app/src/main/AndroidManifest.xml b/demoapp/app/src/main/AndroidManifest.xml index 526db7b..c118076 100644 --- a/demoapp/app/src/main/AndroidManifest.xml +++ b/demoapp/app/src/main/AndroidManifest.xml @@ -1,4 +1,6 @@ + + diff --git a/demoapp/app/src/main/java/ee/ria/DigiDoc/smartcardreader/nfc/example/HomeFragment.kt b/demoapp/app/src/main/java/ee/ria/DigiDoc/smartcardreader/nfc/example/HomeFragment.kt index 56464e0..a9ca863 100644 --- a/demoapp/app/src/main/java/ee/ria/DigiDoc/smartcardreader/nfc/example/HomeFragment.kt +++ b/demoapp/app/src/main/java/ee/ria/DigiDoc/smartcardreader/nfc/example/HomeFragment.kt @@ -1,21 +1,5 @@ -/* - * Copyright 2017 - 2025 Riigi Infosüsteemi Amet - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later package ee.ria.DigiDoc.smartcardreader.nfc.example diff --git a/demoapp/app/src/main/java/ee/ria/DigiDoc/smartcardreader/nfc/example/MainActivity.kt b/demoapp/app/src/main/java/ee/ria/DigiDoc/smartcardreader/nfc/example/MainActivity.kt index 7245e15..3b99ab8 100644 --- a/demoapp/app/src/main/java/ee/ria/DigiDoc/smartcardreader/nfc/example/MainActivity.kt +++ b/demoapp/app/src/main/java/ee/ria/DigiDoc/smartcardreader/nfc/example/MainActivity.kt @@ -1,21 +1,5 @@ -/* - * Copyright 2017 - 2025 Riigi Infosüsteemi Amet - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later package ee.ria.DigiDoc.smartcardreader.nfc.example diff --git a/demoapp/app/src/main/java/ee/ria/DigiDoc/smartcardreader/nfc/example/auth/AuthFragment.kt b/demoapp/app/src/main/java/ee/ria/DigiDoc/smartcardreader/nfc/example/auth/AuthFragment.kt index f4e2c6d..b427048 100644 --- a/demoapp/app/src/main/java/ee/ria/DigiDoc/smartcardreader/nfc/example/auth/AuthFragment.kt +++ b/demoapp/app/src/main/java/ee/ria/DigiDoc/smartcardreader/nfc/example/auth/AuthFragment.kt @@ -1,21 +1,5 @@ -/* - * Copyright 2017 - 2025 Riigi Infosüsteemi Amet - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later package ee.ria.DigiDoc.smartcardreader.nfc.example.auth diff --git a/demoapp/app/src/main/java/ee/ria/DigiDoc/smartcardreader/nfc/example/auth/Pin1Fragment.kt b/demoapp/app/src/main/java/ee/ria/DigiDoc/smartcardreader/nfc/example/auth/Pin1Fragment.kt index 04f2e86..46b5cbb 100644 --- a/demoapp/app/src/main/java/ee/ria/DigiDoc/smartcardreader/nfc/example/auth/Pin1Fragment.kt +++ b/demoapp/app/src/main/java/ee/ria/DigiDoc/smartcardreader/nfc/example/auth/Pin1Fragment.kt @@ -1,21 +1,5 @@ -/* - * Copyright 2017 - 2025 Riigi Infosüsteemi Amet - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later package ee.ria.DigiDoc.smartcardreader.nfc.example.auth diff --git a/demoapp/app/src/main/java/ee/ria/DigiDoc/smartcardreader/nfc/example/card/CanFragment.kt b/demoapp/app/src/main/java/ee/ria/DigiDoc/smartcardreader/nfc/example/card/CanFragment.kt index f3bbacc..1cb9a8f 100644 --- a/demoapp/app/src/main/java/ee/ria/DigiDoc/smartcardreader/nfc/example/card/CanFragment.kt +++ b/demoapp/app/src/main/java/ee/ria/DigiDoc/smartcardreader/nfc/example/card/CanFragment.kt @@ -1,21 +1,5 @@ -/* - * Copyright 2017 - 2025 Riigi Infosüsteemi Amet - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later package ee.ria.DigiDoc.smartcardreader.nfc.example.card diff --git a/demoapp/app/src/main/java/ee/ria/DigiDoc/smartcardreader/nfc/example/card/CardInfoFragment.kt b/demoapp/app/src/main/java/ee/ria/DigiDoc/smartcardreader/nfc/example/card/CardInfoFragment.kt index 1b3cf6f..e4e36fa 100644 --- a/demoapp/app/src/main/java/ee/ria/DigiDoc/smartcardreader/nfc/example/card/CardInfoFragment.kt +++ b/demoapp/app/src/main/java/ee/ria/DigiDoc/smartcardreader/nfc/example/card/CardInfoFragment.kt @@ -1,21 +1,5 @@ -/* - * Copyright 2017 - 2025 Riigi Infosüsteemi Amet - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later package ee.ria.DigiDoc.smartcardreader.nfc.example.card diff --git a/demoapp/app/src/main/java/ee/ria/DigiDoc/smartcardreader/nfc/example/card/CardReaderFragment.kt b/demoapp/app/src/main/java/ee/ria/DigiDoc/smartcardreader/nfc/example/card/CardReaderFragment.kt index 10f1d92..0f05ede 100644 --- a/demoapp/app/src/main/java/ee/ria/DigiDoc/smartcardreader/nfc/example/card/CardReaderFragment.kt +++ b/demoapp/app/src/main/java/ee/ria/DigiDoc/smartcardreader/nfc/example/card/CardReaderFragment.kt @@ -1,21 +1,5 @@ -/* - * Copyright 2017 - 2025 Riigi Infosüsteemi Amet - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later package ee.ria.DigiDoc.smartcardreader.nfc.example.card diff --git a/demoapp/app/src/main/java/ee/ria/DigiDoc/smartcardreader/nfc/example/configuration/ConfigurationData.kt b/demoapp/app/src/main/java/ee/ria/DigiDoc/smartcardreader/nfc/example/configuration/ConfigurationData.kt index da27728..6e89bec 100644 --- a/demoapp/app/src/main/java/ee/ria/DigiDoc/smartcardreader/nfc/example/configuration/ConfigurationData.kt +++ b/demoapp/app/src/main/java/ee/ria/DigiDoc/smartcardreader/nfc/example/configuration/ConfigurationData.kt @@ -1,21 +1,5 @@ -/* - * Copyright 2017 - 2025 Riigi Infosüsteemi Amet - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later package ee.ria.DigiDoc.smartcardreader.nfc.example.configuration diff --git a/demoapp/app/src/main/java/ee/ria/DigiDoc/smartcardreader/nfc/example/configuration/ContainerConfiguration.kt b/demoapp/app/src/main/java/ee/ria/DigiDoc/smartcardreader/nfc/example/configuration/ContainerConfiguration.kt index e03a190..938ee1d 100644 --- a/demoapp/app/src/main/java/ee/ria/DigiDoc/smartcardreader/nfc/example/configuration/ContainerConfiguration.kt +++ b/demoapp/app/src/main/java/ee/ria/DigiDoc/smartcardreader/nfc/example/configuration/ContainerConfiguration.kt @@ -1,21 +1,5 @@ -/* - * Copyright 2017 - 2025 Riigi Infosüsteemi Amet - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later package ee.ria.DigiDoc.smartcardreader.nfc.example.configuration diff --git a/demoapp/app/src/main/java/ee/ria/DigiDoc/smartcardreader/nfc/example/sign/ContainerDataAdapter.kt b/demoapp/app/src/main/java/ee/ria/DigiDoc/smartcardreader/nfc/example/sign/ContainerDataAdapter.kt index bfef323..938c6e6 100644 --- a/demoapp/app/src/main/java/ee/ria/DigiDoc/smartcardreader/nfc/example/sign/ContainerDataAdapter.kt +++ b/demoapp/app/src/main/java/ee/ria/DigiDoc/smartcardreader/nfc/example/sign/ContainerDataAdapter.kt @@ -1,21 +1,5 @@ -/* - * Copyright 2017 - 2025 Riigi Infosüsteemi Amet - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later package ee.ria.DigiDoc.smartcardreader.nfc.example.sign diff --git a/demoapp/app/src/main/java/ee/ria/DigiDoc/smartcardreader/nfc/example/sign/ContainerFragment.kt b/demoapp/app/src/main/java/ee/ria/DigiDoc/smartcardreader/nfc/example/sign/ContainerFragment.kt index de1db14..1a2cbd5 100644 --- a/demoapp/app/src/main/java/ee/ria/DigiDoc/smartcardreader/nfc/example/sign/ContainerFragment.kt +++ b/demoapp/app/src/main/java/ee/ria/DigiDoc/smartcardreader/nfc/example/sign/ContainerFragment.kt @@ -1,21 +1,5 @@ -/* - * Copyright 2017 - 2025 Riigi Infosüsteemi Amet - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later package ee.ria.DigiDoc.smartcardreader.nfc.example.sign diff --git a/demoapp/app/src/main/java/ee/ria/DigiDoc/smartcardreader/nfc/example/sign/Pin2Fragment.kt b/demoapp/app/src/main/java/ee/ria/DigiDoc/smartcardreader/nfc/example/sign/Pin2Fragment.kt index c03db51..99f2a5d 100644 --- a/demoapp/app/src/main/java/ee/ria/DigiDoc/smartcardreader/nfc/example/sign/Pin2Fragment.kt +++ b/demoapp/app/src/main/java/ee/ria/DigiDoc/smartcardreader/nfc/example/sign/Pin2Fragment.kt @@ -1,21 +1,6 @@ -/* - * Copyright 2017 - 2025 Riigi Infosüsteemi Amet - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later + package ee.ria.DigiDoc.smartcardreader.nfc.example.sign import android.os.Bundle diff --git a/demoapp/app/src/main/java/ee/ria/DigiDoc/smartcardreader/nfc/example/util/FileData.kt b/demoapp/app/src/main/java/ee/ria/DigiDoc/smartcardreader/nfc/example/util/FileData.kt index 7bca09a..2e59d5f 100644 --- a/demoapp/app/src/main/java/ee/ria/DigiDoc/smartcardreader/nfc/example/util/FileData.kt +++ b/demoapp/app/src/main/java/ee/ria/DigiDoc/smartcardreader/nfc/example/util/FileData.kt @@ -1,21 +1,5 @@ -/* - * Copyright 2017 - 2025 Riigi Infosüsteemi Amet - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later package ee.ria.DigiDoc.smartcardreader.nfc.example.util diff --git a/demoapp/app/src/main/java/ee/ria/DigiDoc/smartcardreader/nfc/example/util/HideInput.kt b/demoapp/app/src/main/java/ee/ria/DigiDoc/smartcardreader/nfc/example/util/HideInput.kt index deaea2f..c021f60 100644 --- a/demoapp/app/src/main/java/ee/ria/DigiDoc/smartcardreader/nfc/example/util/HideInput.kt +++ b/demoapp/app/src/main/java/ee/ria/DigiDoc/smartcardreader/nfc/example/util/HideInput.kt @@ -1,21 +1,5 @@ -/* - * Copyright 2017 - 2025 Riigi Infosüsteemi Amet - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later package ee.ria.DigiDoc.smartcardreader.nfc.example.util diff --git a/demoapp/app/src/main/java/ee/ria/DigiDoc/smartcardreader/nfc/example/util/Utils.kt b/demoapp/app/src/main/java/ee/ria/DigiDoc/smartcardreader/nfc/example/util/Utils.kt index 1e04e54..3dc7f31 100644 --- a/demoapp/app/src/main/java/ee/ria/DigiDoc/smartcardreader/nfc/example/util/Utils.kt +++ b/demoapp/app/src/main/java/ee/ria/DigiDoc/smartcardreader/nfc/example/util/Utils.kt @@ -1,21 +1,5 @@ -/* - * Copyright 2017 - 2025 Riigi Infosüsteemi Amet - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later package ee.ria.DigiDoc.smartcardreader.nfc.example.util diff --git a/demoapp/app/src/main/java/ee/ria/DigiDoc/smartcardreader/nfc/example/viewmodel/DataViewModel.kt b/demoapp/app/src/main/java/ee/ria/DigiDoc/smartcardreader/nfc/example/viewmodel/DataViewModel.kt index e48608e..69e4070 100644 --- a/demoapp/app/src/main/java/ee/ria/DigiDoc/smartcardreader/nfc/example/viewmodel/DataViewModel.kt +++ b/demoapp/app/src/main/java/ee/ria/DigiDoc/smartcardreader/nfc/example/viewmodel/DataViewModel.kt @@ -1,21 +1,5 @@ -/* - * Copyright 2017 - 2025 Riigi Infosüsteemi Amet - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later package ee.ria.DigiDoc.smartcardreader.nfc.example.viewmodel diff --git a/demoapp/app/src/main/res/drawable/card_reader_image.xml b/demoapp/app/src/main/res/drawable/card_reader_image.xml index 13de9e7..57493b4 100644 --- a/demoapp/app/src/main/res/drawable/card_reader_image.xml +++ b/demoapp/app/src/main/res/drawable/card_reader_image.xml @@ -1,3 +1,7 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/demoapp/app/src/main/res/mipmap-anydpi/ic_launcher_round.xml b/demoapp/app/src/main/res/mipmap-anydpi/ic_launcher_round.xml index 6f3b755..7162e3d 100644 --- a/demoapp/app/src/main/res/mipmap-anydpi/ic_launcher_round.xml +++ b/demoapp/app/src/main/res/mipmap-anydpi/ic_launcher_round.xml @@ -1,4 +1,6 @@ + + diff --git a/demoapp/app/src/main/res/navigation/nav_graph.xml b/demoapp/app/src/main/res/navigation/nav_graph.xml index 6a7c667..9b60782 100644 --- a/demoapp/app/src/main/res/navigation/nav_graph.xml +++ b/demoapp/app/src/main/res/navigation/nav_graph.xml @@ -1,4 +1,6 @@ + + +