diff --git a/.gitignore b/.gitignore index ff14c84b98..f6d48b90dc 100644 --- a/.gitignore +++ b/.gitignore @@ -40,6 +40,7 @@ $RECYCLE.BIN/ .idea/* !.idea/codeStyleSettings.xml !.idea/codeStyles +!.idea/copyright ### Gradle .gradle/ diff --git a/.idea/copyright/Uwe_Apache_2_0.xml b/.idea/copyright/Uwe_Apache_2_0.xml new file mode 100644 index 0000000000..4f722ca11a --- /dev/null +++ b/.idea/copyright/Uwe_Apache_2_0.xml @@ -0,0 +1,6 @@ + + + + \ No newline at end of file diff --git a/.idea/copyright/profiles_settings.xml b/.idea/copyright/profiles_settings.xml new file mode 100644 index 0000000000..1e7e880fee --- /dev/null +++ b/.idea/copyright/profiles_settings.xml @@ -0,0 +1,7 @@ + + + + + + \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index d036c261e4..341bac9c1c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,11 @@ Version 70 * 🔧 Switch to TMDBs recommendations when looking for similar shows or movies. * 🔨 Android 14: fix automatic syncing. +#### 70.0.3 +*2023-11-10* + +* 🔨 Movies: do not skip items when refreshing search results, popular, released or upcoming movies. + #### 70.0.2 *2023-11-03* diff --git a/api/src/main/java/com/battlelancer/seriesguide/api/Action.java b/api/src/main/java/com/battlelancer/seriesguide/api/Action.java index 72b0672ab6..2c618e4295 100644 --- a/api/src/main/java/com/battlelancer/seriesguide/api/Action.java +++ b/api/src/main/java/com/battlelancer/seriesguide/api/Action.java @@ -1,3 +1,6 @@ +// Copyright 2014 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.api; import android.content.Intent; diff --git a/api/src/main/java/com/battlelancer/seriesguide/api/Episode.java b/api/src/main/java/com/battlelancer/seriesguide/api/Episode.java index b21423663c..995de725ad 100644 --- a/api/src/main/java/com/battlelancer/seriesguide/api/Episode.java +++ b/api/src/main/java/com/battlelancer/seriesguide/api/Episode.java @@ -1,3 +1,6 @@ +// Copyright 2014 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.api; import android.os.Bundle; diff --git a/api/src/main/java/com/battlelancer/seriesguide/api/Intents.java b/api/src/main/java/com/battlelancer/seriesguide/api/Intents.java index 584c8f4bce..51bc79fafa 100644 --- a/api/src/main/java/com/battlelancer/seriesguide/api/Intents.java +++ b/api/src/main/java/com/battlelancer/seriesguide/api/Intents.java @@ -1,3 +1,6 @@ +// Copyright 2014 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.api; import android.content.Intent; diff --git a/api/src/main/java/com/battlelancer/seriesguide/api/Movie.java b/api/src/main/java/com/battlelancer/seriesguide/api/Movie.java index 4652005c08..ade5d85dd5 100644 --- a/api/src/main/java/com/battlelancer/seriesguide/api/Movie.java +++ b/api/src/main/java/com/battlelancer/seriesguide/api/Movie.java @@ -1,3 +1,6 @@ +// Copyright 2016 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.api; import android.os.Bundle; diff --git a/api/src/main/java/com/battlelancer/seriesguide/api/SeriesGuideExtension.java b/api/src/main/java/com/battlelancer/seriesguide/api/SeriesGuideExtension.java index 3aea6ef0e7..d28ef63855 100644 --- a/api/src/main/java/com/battlelancer/seriesguide/api/SeriesGuideExtension.java +++ b/api/src/main/java/com/battlelancer/seriesguide/api/SeriesGuideExtension.java @@ -1,3 +1,6 @@ +// Copyright 2014-2019 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.api; import static com.battlelancer.seriesguide.api.constants.IncomingConstants.ACTION_SUBSCRIBE; diff --git a/api/src/main/java/com/battlelancer/seriesguide/api/SeriesGuideExtensionReceiver.java b/api/src/main/java/com/battlelancer/seriesguide/api/SeriesGuideExtensionReceiver.java index 3f5bf0449e..5504dbd217 100644 --- a/api/src/main/java/com/battlelancer/seriesguide/api/SeriesGuideExtensionReceiver.java +++ b/api/src/main/java/com/battlelancer/seriesguide/api/SeriesGuideExtensionReceiver.java @@ -1,3 +1,6 @@ +// Copyright 2017, 2018 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.api; import android.content.BroadcastReceiver; diff --git a/api/src/main/java/com/battlelancer/seriesguide/api/constants/IncomingConstants.java b/api/src/main/java/com/battlelancer/seriesguide/api/constants/IncomingConstants.java index ba37add522..74e6a5d003 100644 --- a/api/src/main/java/com/battlelancer/seriesguide/api/constants/IncomingConstants.java +++ b/api/src/main/java/com/battlelancer/seriesguide/api/constants/IncomingConstants.java @@ -1,3 +1,6 @@ +// Copyright 2014 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.api.constants; /** diff --git a/api/src/main/java/com/battlelancer/seriesguide/api/constants/OutgoingConstants.java b/api/src/main/java/com/battlelancer/seriesguide/api/constants/OutgoingConstants.java index ad8e276583..6b4f06cd78 100644 --- a/api/src/main/java/com/battlelancer/seriesguide/api/constants/OutgoingConstants.java +++ b/api/src/main/java/com/battlelancer/seriesguide/api/constants/OutgoingConstants.java @@ -1,3 +1,6 @@ +// Copyright 2014 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.api.constants; /** diff --git a/app/src/amazon/java/com/battlelancer/seriesguide/billing/amazon/AmazonBillingActivity.kt b/app/src/amazon/java/com/battlelancer/seriesguide/billing/amazon/AmazonBillingActivity.kt index 96b3e25eeb..b916d24dd2 100644 --- a/app/src/amazon/java/com/battlelancer/seriesguide/billing/amazon/AmazonBillingActivity.kt +++ b/app/src/amazon/java/com/battlelancer/seriesguide/billing/amazon/AmazonBillingActivity.kt @@ -1,3 +1,6 @@ +// Copyright 2014 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.billing.amazon import android.os.Bundle diff --git a/app/src/amazon/java/com/battlelancer/seriesguide/billing/amazon/AmazonBillingSQLiteHelper.java b/app/src/amazon/java/com/battlelancer/seriesguide/billing/amazon/AmazonBillingSQLiteHelper.java index 87288d7905..a819142eb7 100644 --- a/app/src/amazon/java/com/battlelancer/seriesguide/billing/amazon/AmazonBillingSQLiteHelper.java +++ b/app/src/amazon/java/com/battlelancer/seriesguide/billing/amazon/AmazonBillingSQLiteHelper.java @@ -1,3 +1,6 @@ +// Copyright 2014 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.billing.amazon; import android.content.Context; diff --git a/app/src/amazon/java/com/battlelancer/seriesguide/billing/amazon/AmazonIapManager.java b/app/src/amazon/java/com/battlelancer/seriesguide/billing/amazon/AmazonIapManager.java index 9d60842e87..814e25add5 100644 --- a/app/src/amazon/java/com/battlelancer/seriesguide/billing/amazon/AmazonIapManager.java +++ b/app/src/amazon/java/com/battlelancer/seriesguide/billing/amazon/AmazonIapManager.java @@ -1,3 +1,6 @@ +// Copyright 2014 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.billing.amazon; import android.app.Activity; diff --git a/app/src/amazon/java/com/battlelancer/seriesguide/billing/amazon/AmazonPurchasingListener.java b/app/src/amazon/java/com/battlelancer/seriesguide/billing/amazon/AmazonPurchasingListener.java index c88ff17c14..66d4d29f7f 100644 --- a/app/src/amazon/java/com/battlelancer/seriesguide/billing/amazon/AmazonPurchasingListener.java +++ b/app/src/amazon/java/com/battlelancer/seriesguide/billing/amazon/AmazonPurchasingListener.java @@ -1,3 +1,6 @@ +// Copyright 2014 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.billing.amazon; import com.amazon.device.iap.PurchasingListener; diff --git a/app/src/amazon/java/com/battlelancer/seriesguide/billing/amazon/AmazonSku.java b/app/src/amazon/java/com/battlelancer/seriesguide/billing/amazon/AmazonSku.java index d5e43bf89f..7b0228c182 100644 --- a/app/src/amazon/java/com/battlelancer/seriesguide/billing/amazon/AmazonSku.java +++ b/app/src/amazon/java/com/battlelancer/seriesguide/billing/amazon/AmazonSku.java @@ -1,3 +1,6 @@ +// Copyright 2014 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.billing.amazon; /** diff --git a/app/src/amazon/java/com/battlelancer/seriesguide/billing/amazon/PurchaseDataSource.java b/app/src/amazon/java/com/battlelancer/seriesguide/billing/amazon/PurchaseDataSource.java index 30529a03dd..d10c8f4eb5 100644 --- a/app/src/amazon/java/com/battlelancer/seriesguide/billing/amazon/PurchaseDataSource.java +++ b/app/src/amazon/java/com/battlelancer/seriesguide/billing/amazon/PurchaseDataSource.java @@ -1,3 +1,6 @@ +// Copyright 2014 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.billing.amazon; import android.content.ContentValues; diff --git a/app/src/amazon/java/com/battlelancer/seriesguide/billing/amazon/PurchaseRecord.java b/app/src/amazon/java/com/battlelancer/seriesguide/billing/amazon/PurchaseRecord.java index a5f94ff633..7c6b4c80a2 100644 --- a/app/src/amazon/java/com/battlelancer/seriesguide/billing/amazon/PurchaseRecord.java +++ b/app/src/amazon/java/com/battlelancer/seriesguide/billing/amazon/PurchaseRecord.java @@ -1,3 +1,6 @@ +// Copyright 2014 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.billing.amazon; /** diff --git a/app/src/amazon/java/com/battlelancer/seriesguide/billing/amazon/UserIapData.java b/app/src/amazon/java/com/battlelancer/seriesguide/billing/amazon/UserIapData.java index 5b61f5e15d..ef7e6ac20d 100644 --- a/app/src/amazon/java/com/battlelancer/seriesguide/billing/amazon/UserIapData.java +++ b/app/src/amazon/java/com/battlelancer/seriesguide/billing/amazon/UserIapData.java @@ -1,3 +1,6 @@ +// Copyright 2014 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.billing.amazon; import java.util.List; diff --git a/app/src/androidTest/java/com/battlelancer/seriesguide/modules/TestHttpClientModule.kt b/app/src/androidTest/java/com/battlelancer/seriesguide/modules/TestHttpClientModule.kt index bd4480b768..764ac9358b 100644 --- a/app/src/androidTest/java/com/battlelancer/seriesguide/modules/TestHttpClientModule.kt +++ b/app/src/androidTest/java/com/battlelancer/seriesguide/modules/TestHttpClientModule.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.modules import android.content.Context diff --git a/app/src/androidTest/java/com/battlelancer/seriesguide/modules/TestServicesComponent.kt b/app/src/androidTest/java/com/battlelancer/seriesguide/modules/TestServicesComponent.kt index 5a3dc751f2..9a375eb343 100644 --- a/app/src/androidTest/java/com/battlelancer/seriesguide/modules/TestServicesComponent.kt +++ b/app/src/androidTest/java/com/battlelancer/seriesguide/modules/TestServicesComponent.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.modules import com.battlelancer.seriesguide.sync.TmdbSyncTest diff --git a/app/src/androidTest/java/com/battlelancer/seriesguide/modules/TestTmdbModule.kt b/app/src/androidTest/java/com/battlelancer/seriesguide/modules/TestTmdbModule.kt index af0ba7b05c..9f1e446b88 100644 --- a/app/src/androidTest/java/com/battlelancer/seriesguide/modules/TestTmdbModule.kt +++ b/app/src/androidTest/java/com/battlelancer/seriesguide/modules/TestTmdbModule.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.modules import com.uwetrottmann.tmdb2.Tmdb diff --git a/app/src/androidTest/java/com/battlelancer/seriesguide/modules/TestTraktModule.kt b/app/src/androidTest/java/com/battlelancer/seriesguide/modules/TestTraktModule.kt index 5f2fb3dcc2..66552b3a14 100644 --- a/app/src/androidTest/java/com/battlelancer/seriesguide/modules/TestTraktModule.kt +++ b/app/src/androidTest/java/com/battlelancer/seriesguide/modules/TestTraktModule.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.modules import com.uwetrottmann.trakt5.TraktV2 diff --git a/app/src/androidTest/java/com/battlelancer/seriesguide/provider/DefaultValuesTest.java b/app/src/androidTest/java/com/battlelancer/seriesguide/provider/DefaultValuesTest.java index ddc02329df..c010e8e281 100644 --- a/app/src/androidTest/java/com/battlelancer/seriesguide/provider/DefaultValuesTest.java +++ b/app/src/androidTest/java/com/battlelancer/seriesguide/provider/DefaultValuesTest.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.provider; import static com.google.common.truth.Truth.assertThat; diff --git a/app/src/androidTest/java/com/battlelancer/seriesguide/provider/MigrationTest.kt b/app/src/androidTest/java/com/battlelancer/seriesguide/provider/MigrationTest.kt index c7e21141f1..2f7c4a120f 100644 --- a/app/src/androidTest/java/com/battlelancer/seriesguide/provider/MigrationTest.kt +++ b/app/src/androidTest/java/com/battlelancer/seriesguide/provider/MigrationTest.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.provider import android.content.Context diff --git a/app/src/androidTest/java/com/battlelancer/seriesguide/provider/RoomDatabaseTestHelper.kt b/app/src/androidTest/java/com/battlelancer/seriesguide/provider/RoomDatabaseTestHelper.kt index 7194f4ed98..9264ae23a0 100644 --- a/app/src/androidTest/java/com/battlelancer/seriesguide/provider/RoomDatabaseTestHelper.kt +++ b/app/src/androidTest/java/com/battlelancer/seriesguide/provider/RoomDatabaseTestHelper.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.provider import android.content.ContentValues diff --git a/app/src/androidTest/java/com/battlelancer/seriesguide/provider/RoomInitialDataTest.kt b/app/src/androidTest/java/com/battlelancer/seriesguide/provider/RoomInitialDataTest.kt index 20b11e2616..04547161dd 100644 --- a/app/src/androidTest/java/com/battlelancer/seriesguide/provider/RoomInitialDataTest.kt +++ b/app/src/androidTest/java/com/battlelancer/seriesguide/provider/RoomInitialDataTest.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.provider import android.content.Context diff --git a/app/src/androidTest/java/com/battlelancer/seriesguide/provider/SqliteDatabaseTestHelper.kt b/app/src/androidTest/java/com/battlelancer/seriesguide/provider/SqliteDatabaseTestHelper.kt index ba315a6978..6235c1eb8c 100644 --- a/app/src/androidTest/java/com/battlelancer/seriesguide/provider/SqliteDatabaseTestHelper.kt +++ b/app/src/androidTest/java/com/battlelancer/seriesguide/provider/SqliteDatabaseTestHelper.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.provider import android.database.sqlite.SQLiteDatabase diff --git a/app/src/androidTest/java/com/battlelancer/seriesguide/provider/SqliteTestDbOpenHelper.java b/app/src/androidTest/java/com/battlelancer/seriesguide/provider/SqliteTestDbOpenHelper.java index 36fa088d85..78bc3378d9 100644 --- a/app/src/androidTest/java/com/battlelancer/seriesguide/provider/SqliteTestDbOpenHelper.java +++ b/app/src/androidTest/java/com/battlelancer/seriesguide/provider/SqliteTestDbOpenHelper.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.provider; import android.content.Context; diff --git a/app/src/androidTest/java/com/battlelancer/seriesguide/shows/tools/CustomReleaseTimeTest.kt b/app/src/androidTest/java/com/battlelancer/seriesguide/shows/tools/CustomReleaseTimeTest.kt index 06e1dabf0b..342fc12690 100644 --- a/app/src/androidTest/java/com/battlelancer/seriesguide/shows/tools/CustomReleaseTimeTest.kt +++ b/app/src/androidTest/java/com/battlelancer/seriesguide/shows/tools/CustomReleaseTimeTest.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows.tools import androidx.test.ext.junit.runners.AndroidJUnit4 diff --git a/app/src/androidTest/java/com/battlelancer/seriesguide/shows/tools/NextEpisodeUpdaterTest.kt b/app/src/androidTest/java/com/battlelancer/seriesguide/shows/tools/NextEpisodeUpdaterTest.kt index 505f24240c..4cc11bb225 100644 --- a/app/src/androidTest/java/com/battlelancer/seriesguide/shows/tools/NextEpisodeUpdaterTest.kt +++ b/app/src/androidTest/java/com/battlelancer/seriesguide/shows/tools/NextEpisodeUpdaterTest.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows.tools import android.content.Context diff --git a/app/src/androidTest/java/com/battlelancer/seriesguide/shows/tools/ShowTestHelper.kt b/app/src/androidTest/java/com/battlelancer/seriesguide/shows/tools/ShowTestHelper.kt index 3fbdf21399..21beb19a73 100644 --- a/app/src/androidTest/java/com/battlelancer/seriesguide/shows/tools/ShowTestHelper.kt +++ b/app/src/androidTest/java/com/battlelancer/seriesguide/shows/tools/ShowTestHelper.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows.tools import com.battlelancer.seriesguide.shows.database.SgEpisode2 diff --git a/app/src/androidTest/java/com/battlelancer/seriesguide/sync/TmdbSyncTest.java b/app/src/androidTest/java/com/battlelancer/seriesguide/sync/TmdbSyncTest.java index c73a765166..3e09517d49 100644 --- a/app/src/androidTest/java/com/battlelancer/seriesguide/sync/TmdbSyncTest.java +++ b/app/src/androidTest/java/com/battlelancer/seriesguide/sync/TmdbSyncTest.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.sync; import static com.google.common.truth.Truth.assertThat; diff --git a/app/src/androidTest/java/com/battlelancer/seriesguide/ui/ShowsActivityTest.java b/app/src/androidTest/java/com/battlelancer/seriesguide/ui/ShowsActivityTest.java index 75fa7856fe..83ceae25d0 100644 --- a/app/src/androidTest/java/com/battlelancer/seriesguide/ui/ShowsActivityTest.java +++ b/app/src/androidTest/java/com/battlelancer/seriesguide/ui/ShowsActivityTest.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.ui; import static androidx.test.espresso.Espresso.onView; diff --git a/app/src/androidTest/java/com/battlelancer/seriesguide/util/TimeToolsTest.kt b/app/src/androidTest/java/com/battlelancer/seriesguide/util/TimeToolsTest.kt index 7290e39620..e2a826d939 100644 --- a/app/src/androidTest/java/com/battlelancer/seriesguide/util/TimeToolsTest.kt +++ b/app/src/androidTest/java/com/battlelancer/seriesguide/util/TimeToolsTest.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.util import com.battlelancer.seriesguide.shows.database.SgShow2 diff --git a/app/src/androidTest/java/com/battlelancer/seriesguide/util/TraktToolsTest.java b/app/src/androidTest/java/com/battlelancer/seriesguide/util/TraktToolsTest.java index 01ebcf1bd6..4fef715b1a 100644 --- a/app/src/androidTest/java/com/battlelancer/seriesguide/util/TraktToolsTest.java +++ b/app/src/androidTest/java/com/battlelancer/seriesguide/util/TraktToolsTest.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.util; import static com.google.common.truth.Truth.assertThat; diff --git a/app/src/main/java/com/battlelancer/seriesguide/AnalyticsTree.kt b/app/src/main/java/com/battlelancer/seriesguide/AnalyticsTree.kt index 55e6dc4d2a..77ddf8691c 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/AnalyticsTree.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/AnalyticsTree.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide import android.database.sqlite.SQLiteException diff --git a/app/src/main/java/com/battlelancer/seriesguide/SgApp.kt b/app/src/main/java/com/battlelancer/seriesguide/SgApp.kt index 7199f51f0b..50732016aa 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/SgApp.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/SgApp.kt @@ -1,3 +1,7 @@ +// Copyright 2011-2022 Uwe Trottmann +// Copyright 2013 Andrew Neal +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide import android.app.Application diff --git a/app/src/main/java/com/battlelancer/seriesguide/SgBackupAgent.kt b/app/src/main/java/com/battlelancer/seriesguide/SgBackupAgent.kt index 3a75e3c2d1..378fc327a5 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/SgBackupAgent.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/SgBackupAgent.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide import android.app.backup.BackupAgent diff --git a/app/src/main/java/com/battlelancer/seriesguide/appwidget/ListWidgetPreferenceActivity.kt b/app/src/main/java/com/battlelancer/seriesguide/appwidget/ListWidgetPreferenceActivity.kt index 090ec53b9d..31649e6abb 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/appwidget/ListWidgetPreferenceActivity.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/appwidget/ListWidgetPreferenceActivity.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.appwidget import android.app.Activity diff --git a/app/src/main/java/com/battlelancer/seriesguide/appwidget/ListWidgetPreferenceFragment.kt b/app/src/main/java/com/battlelancer/seriesguide/appwidget/ListWidgetPreferenceFragment.kt index 38186c4003..9148b92b3e 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/appwidget/ListWidgetPreferenceFragment.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/appwidget/ListWidgetPreferenceFragment.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.appwidget import android.content.SharedPreferences diff --git a/app/src/main/java/com/battlelancer/seriesguide/appwidget/ListWidgetProvider.kt b/app/src/main/java/com/battlelancer/seriesguide/appwidget/ListWidgetProvider.kt index cad794be9e..237cf8123d 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/appwidget/ListWidgetProvider.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/appwidget/ListWidgetProvider.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.appwidget import android.app.AlarmManager diff --git a/app/src/main/java/com/battlelancer/seriesguide/appwidget/ListWidgetRemoteViewsFactory.kt b/app/src/main/java/com/battlelancer/seriesguide/appwidget/ListWidgetRemoteViewsFactory.kt index 82c7330208..8861d5f8e6 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/appwidget/ListWidgetRemoteViewsFactory.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/appwidget/ListWidgetRemoteViewsFactory.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.appwidget import android.annotation.SuppressLint diff --git a/app/src/main/java/com/battlelancer/seriesguide/appwidget/ListWidgetService.kt b/app/src/main/java/com/battlelancer/seriesguide/appwidget/ListWidgetService.kt index 8fedf990b9..fd17b1c41e 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/appwidget/ListWidgetService.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/appwidget/ListWidgetService.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.appwidget import android.content.Intent diff --git a/app/src/main/java/com/battlelancer/seriesguide/backend/CloudEndpointUtils.kt b/app/src/main/java/com/battlelancer/seriesguide/backend/CloudEndpointUtils.kt index 16954711e0..9447e840c4 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/backend/CloudEndpointUtils.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/backend/CloudEndpointUtils.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.backend import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/backend/CloudSetupActivity.kt b/app/src/main/java/com/battlelancer/seriesguide/backend/CloudSetupActivity.kt index 297f419fd1..2cf8b54368 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/backend/CloudSetupActivity.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/backend/CloudSetupActivity.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.backend import android.os.Bundle diff --git a/app/src/main/java/com/battlelancer/seriesguide/backend/CloudSetupFragment.kt b/app/src/main/java/com/battlelancer/seriesguide/backend/CloudSetupFragment.kt index 3655bb3a37..e754d8e002 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/backend/CloudSetupFragment.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/backend/CloudSetupFragment.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.backend import android.app.Activity diff --git a/app/src/main/java/com/battlelancer/seriesguide/backend/FirebaseHttpRequestInitializer.kt b/app/src/main/java/com/battlelancer/seriesguide/backend/FirebaseHttpRequestInitializer.kt index a2f4690cee..31edcf85d4 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/backend/FirebaseHttpRequestInitializer.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/backend/FirebaseHttpRequestInitializer.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.backend import com.google.android.gms.tasks.Tasks diff --git a/app/src/main/java/com/battlelancer/seriesguide/backend/HexagonAuthError.kt b/app/src/main/java/com/battlelancer/seriesguide/backend/HexagonAuthError.kt index fc03e65da2..49bc0ead7a 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/backend/HexagonAuthError.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/backend/HexagonAuthError.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.backend import com.firebase.ui.auth.FirebaseUiException diff --git a/app/src/main/java/com/battlelancer/seriesguide/backend/HexagonTools.kt b/app/src/main/java/com/battlelancer/seriesguide/backend/HexagonTools.kt index 97ba02031c..dd3ad1268b 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/backend/HexagonTools.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/backend/HexagonTools.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.backend import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/backend/RemoveCloudAccountDialogFragment.kt b/app/src/main/java/com/battlelancer/seriesguide/backend/RemoveCloudAccountDialogFragment.kt index 0264fd60db..13b99982ee 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/backend/RemoveCloudAccountDialogFragment.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/backend/RemoveCloudAccountDialogFragment.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.backend import android.app.Dialog diff --git a/app/src/main/java/com/battlelancer/seriesguide/backend/settings/HexagonSettings.kt b/app/src/main/java/com/battlelancer/seriesguide/backend/settings/HexagonSettings.kt index 4c959a85cc..a74588cbdc 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/backend/settings/HexagonSettings.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/backend/settings/HexagonSettings.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.backend.settings import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/billing/BillingActivity.kt b/app/src/main/java/com/battlelancer/seriesguide/billing/BillingActivity.kt index ef7d79a39e..703e51cf29 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/billing/BillingActivity.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/billing/BillingActivity.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.billing import android.annotation.SuppressLint diff --git a/app/src/main/java/com/battlelancer/seriesguide/billing/SkuDetailsAdapter.kt b/app/src/main/java/com/battlelancer/seriesguide/billing/SkuDetailsAdapter.kt index c00b6eaa48..a9b0980b79 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/billing/SkuDetailsAdapter.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/billing/SkuDetailsAdapter.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.billing import android.annotation.SuppressLint diff --git a/app/src/main/java/com/battlelancer/seriesguide/billing/amazon/AmazonHelper.kt b/app/src/main/java/com/battlelancer/seriesguide/billing/amazon/AmazonHelper.kt index 38ef40473d..e9e362afd8 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/billing/amazon/AmazonHelper.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/billing/amazon/AmazonHelper.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.billing.amazon import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/billing/amazon/AmazonIapManagerInterface.kt b/app/src/main/java/com/battlelancer/seriesguide/billing/amazon/AmazonIapManagerInterface.kt index d36c0c331f..87f0580109 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/billing/amazon/AmazonIapManagerInterface.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/billing/amazon/AmazonIapManagerInterface.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.billing.amazon import android.app.Activity diff --git a/app/src/main/java/com/battlelancer/seriesguide/comments/TraktCommentsActivity.kt b/app/src/main/java/com/battlelancer/seriesguide/comments/TraktCommentsActivity.kt index 1457c8d502..ea6c4013ec 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/comments/TraktCommentsActivity.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/comments/TraktCommentsActivity.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.comments import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/comments/TraktCommentsAdapter.kt b/app/src/main/java/com/battlelancer/seriesguide/comments/TraktCommentsAdapter.kt index 7d736eb7ba..8b963f2cc6 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/comments/TraktCommentsAdapter.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/comments/TraktCommentsAdapter.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.comments import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/comments/TraktCommentsFragment.kt b/app/src/main/java/com/battlelancer/seriesguide/comments/TraktCommentsFragment.kt index e4b5ec0601..4378a29fbe 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/comments/TraktCommentsFragment.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/comments/TraktCommentsFragment.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.comments import android.os.AsyncTask diff --git a/app/src/main/java/com/battlelancer/seriesguide/comments/TraktCommentsLoader.kt b/app/src/main/java/com/battlelancer/seriesguide/comments/TraktCommentsLoader.kt index cd0dc866a5..c9ea3b8342 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/comments/TraktCommentsLoader.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/comments/TraktCommentsLoader.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.comments import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/dataliberation/AutoBackupFragment.kt b/app/src/main/java/com/battlelancer/seriesguide/dataliberation/AutoBackupFragment.kt index 82bb28b771..4027462fe3 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/dataliberation/AutoBackupFragment.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/dataliberation/AutoBackupFragment.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.dataliberation import android.annotation.SuppressLint diff --git a/app/src/main/java/com/battlelancer/seriesguide/dataliberation/AutoBackupTask.kt b/app/src/main/java/com/battlelancer/seriesguide/dataliberation/AutoBackupTask.kt index 95e6462f30..2bdd199b38 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/dataliberation/AutoBackupTask.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/dataliberation/AutoBackupTask.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.dataliberation import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/dataliberation/AutoBackupTools.kt b/app/src/main/java/com/battlelancer/seriesguide/dataliberation/AutoBackupTools.kt index 25a16dd264..7d68109709 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/dataliberation/AutoBackupTools.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/dataliberation/AutoBackupTools.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.dataliberation import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/dataliberation/AutoBackupViewModel.kt b/app/src/main/java/com/battlelancer/seriesguide/dataliberation/AutoBackupViewModel.kt index 3e16170e0b..cf34514cd9 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/dataliberation/AutoBackupViewModel.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/dataliberation/AutoBackupViewModel.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.dataliberation import android.app.Application diff --git a/app/src/main/java/com/battlelancer/seriesguide/dataliberation/BackupSettings.java b/app/src/main/java/com/battlelancer/seriesguide/dataliberation/BackupSettings.java index 375c20dbb6..2afd8993cd 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/dataliberation/BackupSettings.java +++ b/app/src/main/java/com/battlelancer/seriesguide/dataliberation/BackupSettings.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.dataliberation; import android.content.Context; diff --git a/app/src/main/java/com/battlelancer/seriesguide/dataliberation/DataLiberationActivity.kt b/app/src/main/java/com/battlelancer/seriesguide/dataliberation/DataLiberationActivity.kt index 25dc1fc51a..a3c2093ad2 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/dataliberation/DataLiberationActivity.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/dataliberation/DataLiberationActivity.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.dataliberation import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/dataliberation/DataLiberationFragment.kt b/app/src/main/java/com/battlelancer/seriesguide/dataliberation/DataLiberationFragment.kt index 1de4cc12f2..b6bfbfca60 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/dataliberation/DataLiberationFragment.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/dataliberation/DataLiberationFragment.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.dataliberation import android.net.Uri diff --git a/app/src/main/java/com/battlelancer/seriesguide/dataliberation/DataLiberationTools.kt b/app/src/main/java/com/battlelancer/seriesguide/dataliberation/DataLiberationTools.kt index 104ecadb52..54db00aa6f 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/dataliberation/DataLiberationTools.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/dataliberation/DataLiberationTools.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.dataliberation import android.app.Activity diff --git a/app/src/main/java/com/battlelancer/seriesguide/dataliberation/DataLiberationViewModel.kt b/app/src/main/java/com/battlelancer/seriesguide/dataliberation/DataLiberationViewModel.kt index 759d00357e..0922bc40fc 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/dataliberation/DataLiberationViewModel.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/dataliberation/DataLiberationViewModel.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.dataliberation import android.app.Application diff --git a/app/src/main/java/com/battlelancer/seriesguide/dataliberation/ImportTools.kt b/app/src/main/java/com/battlelancer/seriesguide/dataliberation/ImportTools.kt index 4308273f30..a56d05550c 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/dataliberation/ImportTools.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/dataliberation/ImportTools.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.dataliberation import com.battlelancer.seriesguide.dataliberation.model.Episode diff --git a/app/src/main/java/com/battlelancer/seriesguide/dataliberation/JsonExportTask.kt b/app/src/main/java/com/battlelancer/seriesguide/dataliberation/JsonExportTask.kt index 51ee004f9a..26c75f38e2 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/dataliberation/JsonExportTask.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/dataliberation/JsonExportTask.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.dataliberation import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/dataliberation/JsonImportTask.kt b/app/src/main/java/com/battlelancer/seriesguide/dataliberation/JsonImportTask.kt index 63108651d3..2a2c540e71 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/dataliberation/JsonImportTask.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/dataliberation/JsonImportTask.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.dataliberation import android.content.ContentProviderOperation diff --git a/app/src/main/java/com/battlelancer/seriesguide/dataliberation/model/Episode.java b/app/src/main/java/com/battlelancer/seriesguide/dataliberation/model/Episode.java index d17c8123a9..6c237cdb73 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/dataliberation/model/Episode.java +++ b/app/src/main/java/com/battlelancer/seriesguide/dataliberation/model/Episode.java @@ -1,3 +1,5 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 package com.battlelancer.seriesguide.dataliberation.model; diff --git a/app/src/main/java/com/battlelancer/seriesguide/dataliberation/model/List.java b/app/src/main/java/com/battlelancer/seriesguide/dataliberation/model/List.java index 238c1bcf6d..94d7b84c28 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/dataliberation/model/List.java +++ b/app/src/main/java/com/battlelancer/seriesguide/dataliberation/model/List.java @@ -1,3 +1,5 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 package com.battlelancer.seriesguide.dataliberation.model; diff --git a/app/src/main/java/com/battlelancer/seriesguide/dataliberation/model/ListItem.java b/app/src/main/java/com/battlelancer/seriesguide/dataliberation/model/ListItem.java index bb1a8d9aaf..7fd9f1d135 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/dataliberation/model/ListItem.java +++ b/app/src/main/java/com/battlelancer/seriesguide/dataliberation/model/ListItem.java @@ -1,3 +1,5 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 package com.battlelancer.seriesguide.dataliberation.model; diff --git a/app/src/main/java/com/battlelancer/seriesguide/dataliberation/model/Movie.java b/app/src/main/java/com/battlelancer/seriesguide/dataliberation/model/Movie.java index f32d482c78..35eb8cc513 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/dataliberation/model/Movie.java +++ b/app/src/main/java/com/battlelancer/seriesguide/dataliberation/model/Movie.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.dataliberation.model; import android.content.ContentValues; diff --git a/app/src/main/java/com/battlelancer/seriesguide/dataliberation/model/Season.java b/app/src/main/java/com/battlelancer/seriesguide/dataliberation/model/Season.java index dc5fd5e279..072cc2ff7d 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/dataliberation/model/Season.java +++ b/app/src/main/java/com/battlelancer/seriesguide/dataliberation/model/Season.java @@ -1,3 +1,5 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 package com.battlelancer.seriesguide.dataliberation.model; diff --git a/app/src/main/java/com/battlelancer/seriesguide/dataliberation/model/Show.java b/app/src/main/java/com/battlelancer/seriesguide/dataliberation/model/Show.java index 653346437a..5b0bfd605e 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/dataliberation/model/Show.java +++ b/app/src/main/java/com/battlelancer/seriesguide/dataliberation/model/Show.java @@ -1,3 +1,5 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 package com.battlelancer.seriesguide.dataliberation.model; diff --git a/app/src/main/java/com/battlelancer/seriesguide/enums/NetworkResult.java b/app/src/main/java/com/battlelancer/seriesguide/enums/NetworkResult.java index 6c5d36ec04..e69fba61c0 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/enums/NetworkResult.java +++ b/app/src/main/java/com/battlelancer/seriesguide/enums/NetworkResult.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.enums; /** diff --git a/app/src/main/java/com/battlelancer/seriesguide/enums/Result.java b/app/src/main/java/com/battlelancer/seriesguide/enums/Result.java index d2260769ca..8df4470f6f 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/enums/Result.java +++ b/app/src/main/java/com/battlelancer/seriesguide/enums/Result.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.enums; /** diff --git a/app/src/main/java/com/battlelancer/seriesguide/extensions/ActionsHelper.java b/app/src/main/java/com/battlelancer/seriesguide/extensions/ActionsHelper.java index 05f5322b99..60a301cb84 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/extensions/ActionsHelper.java +++ b/app/src/main/java/com/battlelancer/seriesguide/extensions/ActionsHelper.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.extensions; import android.app.ActivityOptions; diff --git a/app/src/main/java/com/battlelancer/seriesguide/extensions/AmazonConfigurationFragment.kt b/app/src/main/java/com/battlelancer/seriesguide/extensions/AmazonConfigurationFragment.kt index 915d1f219d..6b92cdd263 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/extensions/AmazonConfigurationFragment.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/extensions/AmazonConfigurationFragment.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.extensions import android.os.Bundle diff --git a/app/src/main/java/com/battlelancer/seriesguide/extensions/AmazonExtension.kt b/app/src/main/java/com/battlelancer/seriesguide/extensions/AmazonExtension.kt index d0875377c4..7aaa220daf 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/extensions/AmazonExtension.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/extensions/AmazonExtension.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.extensions import android.content.Intent diff --git a/app/src/main/java/com/battlelancer/seriesguide/extensions/AmazonExtensionReceiver.kt b/app/src/main/java/com/battlelancer/seriesguide/extensions/AmazonExtensionReceiver.kt index 46457f0fc2..14b1409e34 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/extensions/AmazonExtensionReceiver.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/extensions/AmazonExtensionReceiver.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.extensions import com.battlelancer.seriesguide.SgApp diff --git a/app/src/main/java/com/battlelancer/seriesguide/extensions/AvailableExtensionsLoader.kt b/app/src/main/java/com/battlelancer/seriesguide/extensions/AvailableExtensionsLoader.kt index 64aabc2290..436ccc1304 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/extensions/AvailableExtensionsLoader.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/extensions/AvailableExtensionsLoader.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.extensions import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/extensions/EpisodeActionsContract.java b/app/src/main/java/com/battlelancer/seriesguide/extensions/EpisodeActionsContract.java index f1d501f920..186b405bd3 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/extensions/EpisodeActionsContract.java +++ b/app/src/main/java/com/battlelancer/seriesguide/extensions/EpisodeActionsContract.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.extensions; import androidx.fragment.app.Fragment; diff --git a/app/src/main/java/com/battlelancer/seriesguide/extensions/EpisodeActionsLoader.kt b/app/src/main/java/com/battlelancer/seriesguide/extensions/EpisodeActionsLoader.kt index 4ef15b578b..2457a49916 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/extensions/EpisodeActionsLoader.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/extensions/EpisodeActionsLoader.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.extensions import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/extensions/Extension.java b/app/src/main/java/com/battlelancer/seriesguide/extensions/Extension.java index 9aab4947a7..81b983ef66 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/extensions/Extension.java +++ b/app/src/main/java/com/battlelancer/seriesguide/extensions/Extension.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.extensions; import android.content.ComponentName; diff --git a/app/src/main/java/com/battlelancer/seriesguide/extensions/ExtensionActionReceiver.kt b/app/src/main/java/com/battlelancer/seriesguide/extensions/ExtensionActionReceiver.kt index 39a53e4c9b..44f28a1e0e 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/extensions/ExtensionActionReceiver.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/extensions/ExtensionActionReceiver.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.extensions import android.content.BroadcastReceiver diff --git a/app/src/main/java/com/battlelancer/seriesguide/extensions/ExtensionManager.java b/app/src/main/java/com/battlelancer/seriesguide/extensions/ExtensionManager.java index 4dc9d8c81a..c74fb7a9d8 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/extensions/ExtensionManager.java +++ b/app/src/main/java/com/battlelancer/seriesguide/extensions/ExtensionManager.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.extensions; import static com.battlelancer.seriesguide.api.constants.OutgoingConstants.ACTION_TYPE_EPISODE; diff --git a/app/src/main/java/com/battlelancer/seriesguide/extensions/ExtensionPackageChangeReceiver.java b/app/src/main/java/com/battlelancer/seriesguide/extensions/ExtensionPackageChangeReceiver.java index 73df806785..21433aa666 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/extensions/ExtensionPackageChangeReceiver.java +++ b/app/src/main/java/com/battlelancer/seriesguide/extensions/ExtensionPackageChangeReceiver.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.extensions; import android.content.BroadcastReceiver; diff --git a/app/src/main/java/com/battlelancer/seriesguide/extensions/ExtensionsAdapter.kt b/app/src/main/java/com/battlelancer/seriesguide/extensions/ExtensionsAdapter.kt index d24f30ee6b..9b1c29d155 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/extensions/ExtensionsAdapter.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/extensions/ExtensionsAdapter.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.extensions import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/extensions/ExtensionsConfigurationActivity.kt b/app/src/main/java/com/battlelancer/seriesguide/extensions/ExtensionsConfigurationActivity.kt index dfc54e90b2..eabf475c1a 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/extensions/ExtensionsConfigurationActivity.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/extensions/ExtensionsConfigurationActivity.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.extensions import android.os.Bundle diff --git a/app/src/main/java/com/battlelancer/seriesguide/extensions/ExtensionsConfigurationFragment.kt b/app/src/main/java/com/battlelancer/seriesguide/extensions/ExtensionsConfigurationFragment.kt index a384d29772..70b04a38ef 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/extensions/ExtensionsConfigurationFragment.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/extensions/ExtensionsConfigurationFragment.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.extensions import android.annotation.SuppressLint diff --git a/app/src/main/java/com/battlelancer/seriesguide/extensions/GooglePlayExtension.kt b/app/src/main/java/com/battlelancer/seriesguide/extensions/GooglePlayExtension.kt index edbff64f46..35173be6a2 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/extensions/GooglePlayExtension.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/extensions/GooglePlayExtension.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.extensions import com.battlelancer.seriesguide.R diff --git a/app/src/main/java/com/battlelancer/seriesguide/extensions/GooglePlayExtensionReceiver.kt b/app/src/main/java/com/battlelancer/seriesguide/extensions/GooglePlayExtensionReceiver.kt index 0bf7f7387b..fcab3e6ad1 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/extensions/GooglePlayExtensionReceiver.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/extensions/GooglePlayExtensionReceiver.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.extensions import com.battlelancer.seriesguide.SgApp diff --git a/app/src/main/java/com/battlelancer/seriesguide/extensions/MovieActionsContract.java b/app/src/main/java/com/battlelancer/seriesguide/extensions/MovieActionsContract.java index 53ca1bd032..fb03a4896a 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/extensions/MovieActionsContract.java +++ b/app/src/main/java/com/battlelancer/seriesguide/extensions/MovieActionsContract.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.extensions; import androidx.fragment.app.Fragment; diff --git a/app/src/main/java/com/battlelancer/seriesguide/extensions/VodsterExtension.kt b/app/src/main/java/com/battlelancer/seriesguide/extensions/VodsterExtension.kt index 8d7cf91cac..61530f9968 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/extensions/VodsterExtension.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/extensions/VodsterExtension.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.extensions import android.content.Intent diff --git a/app/src/main/java/com/battlelancer/seriesguide/extensions/VodsterExtensionReceiver.kt b/app/src/main/java/com/battlelancer/seriesguide/extensions/VodsterExtensionReceiver.kt index 29c430f6cd..79b5f6e585 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/extensions/VodsterExtensionReceiver.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/extensions/VodsterExtensionReceiver.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.extensions import com.battlelancer.seriesguide.SgApp diff --git a/app/src/main/java/com/battlelancer/seriesguide/extensions/WebSearchExtension.kt b/app/src/main/java/com/battlelancer/seriesguide/extensions/WebSearchExtension.kt index 100d2c76b2..ddef148f0d 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/extensions/WebSearchExtension.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/extensions/WebSearchExtension.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.extensions import com.battlelancer.seriesguide.R diff --git a/app/src/main/java/com/battlelancer/seriesguide/extensions/WebSearchExtensionReceiver.kt b/app/src/main/java/com/battlelancer/seriesguide/extensions/WebSearchExtensionReceiver.kt index 183630e5bf..9753d34655 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/extensions/WebSearchExtensionReceiver.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/extensions/WebSearchExtensionReceiver.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.extensions import com.battlelancer.seriesguide.SgApp diff --git a/app/src/main/java/com/battlelancer/seriesguide/extensions/YouTubeExtension.kt b/app/src/main/java/com/battlelancer/seriesguide/extensions/YouTubeExtension.kt index 52179ba487..4255c6152d 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/extensions/YouTubeExtension.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/extensions/YouTubeExtension.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.extensions import com.battlelancer.seriesguide.R diff --git a/app/src/main/java/com/battlelancer/seriesguide/extensions/YouTubeExtensionReceiver.kt b/app/src/main/java/com/battlelancer/seriesguide/extensions/YouTubeExtensionReceiver.kt index afe748d24c..b3cc7060a1 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/extensions/YouTubeExtensionReceiver.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/extensions/YouTubeExtensionReceiver.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.extensions import com.battlelancer.seriesguide.SgApp diff --git a/app/src/main/java/com/battlelancer/seriesguide/history/BaseHistoryAdapter.kt b/app/src/main/java/com/battlelancer/seriesguide/history/BaseHistoryAdapter.kt index 7a2e666ad6..475f070849 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/history/BaseHistoryAdapter.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/history/BaseHistoryAdapter.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.history import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/history/EpisodeHistoryAdapter.kt b/app/src/main/java/com/battlelancer/seriesguide/history/EpisodeHistoryAdapter.kt index 8b6e126f72..68fd427460 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/history/EpisodeHistoryAdapter.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/history/EpisodeHistoryAdapter.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.history import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/history/HistoryActivity.kt b/app/src/main/java/com/battlelancer/seriesguide/history/HistoryActivity.kt index 8a18ab5f6e..0f982ca8cd 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/history/HistoryActivity.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/history/HistoryActivity.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.history import android.os.Bundle diff --git a/app/src/main/java/com/battlelancer/seriesguide/history/HistoryItemViewHolder.kt b/app/src/main/java/com/battlelancer/seriesguide/history/HistoryItemViewHolder.kt index ae4b61aa22..107fdf4d59 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/history/HistoryItemViewHolder.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/history/HistoryItemViewHolder.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.history import android.graphics.drawable.Drawable diff --git a/app/src/main/java/com/battlelancer/seriesguide/history/MovieHistoryAdapter.kt b/app/src/main/java/com/battlelancer/seriesguide/history/MovieHistoryAdapter.kt index bf19818cea..fcfd201fe1 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/history/MovieHistoryAdapter.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/history/MovieHistoryAdapter.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.history import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/history/StreamFragment.kt b/app/src/main/java/com/battlelancer/seriesguide/history/StreamFragment.kt index c38b5522e3..62c68783a4 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/history/StreamFragment.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/history/StreamFragment.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.history import android.os.Bundle diff --git a/app/src/main/java/com/battlelancer/seriesguide/history/TraktEpisodeHistoryLoader.kt b/app/src/main/java/com/battlelancer/seriesguide/history/TraktEpisodeHistoryLoader.kt index 7fc08db409..048c9de7d9 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/history/TraktEpisodeHistoryLoader.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/history/TraktEpisodeHistoryLoader.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.history import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/history/TraktMovieHistoryLoader.kt b/app/src/main/java/com/battlelancer/seriesguide/history/TraktMovieHistoryLoader.kt index c3e87c5d84..c748c204fe 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/history/TraktMovieHistoryLoader.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/history/TraktMovieHistoryLoader.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.history import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/history/UserEpisodeStreamFragment.kt b/app/src/main/java/com/battlelancer/seriesguide/history/UserEpisodeStreamFragment.kt index 224fe12424..ec4539ad45 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/history/UserEpisodeStreamFragment.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/history/UserEpisodeStreamFragment.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.history import android.os.Bundle diff --git a/app/src/main/java/com/battlelancer/seriesguide/history/UserMovieStreamFragment.kt b/app/src/main/java/com/battlelancer/seriesguide/history/UserMovieStreamFragment.kt index 42886971f6..f11b9950e4 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/history/UserMovieStreamFragment.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/history/UserMovieStreamFragment.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.history import android.os.Bundle diff --git a/app/src/main/java/com/battlelancer/seriesguide/jobs/BaseFlagJob.kt b/app/src/main/java/com/battlelancer/seriesguide/jobs/BaseFlagJob.kt index 38c2ad8131..0556434607 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/jobs/BaseFlagJob.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/jobs/BaseFlagJob.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.jobs import android.content.ContentValues diff --git a/app/src/main/java/com/battlelancer/seriesguide/jobs/BaseNetworkEpisodeJob.kt b/app/src/main/java/com/battlelancer/seriesguide/jobs/BaseNetworkEpisodeJob.kt index 7ad4894664..d44a3e853e 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/jobs/BaseNetworkEpisodeJob.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/jobs/BaseNetworkEpisodeJob.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.jobs import android.app.PendingIntent diff --git a/app/src/main/java/com/battlelancer/seriesguide/jobs/BaseNetworkJob.kt b/app/src/main/java/com/battlelancer/seriesguide/jobs/BaseNetworkJob.kt index d02c5a5b3d..3b6d0899d5 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/jobs/BaseNetworkJob.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/jobs/BaseNetworkJob.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.jobs import android.app.PendingIntent diff --git a/app/src/main/java/com/battlelancer/seriesguide/jobs/BaseNetworkMovieJob.kt b/app/src/main/java/com/battlelancer/seriesguide/jobs/BaseNetworkMovieJob.kt index 505a64d46f..9839c7695b 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/jobs/BaseNetworkMovieJob.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/jobs/BaseNetworkMovieJob.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.jobs import android.app.PendingIntent diff --git a/app/src/main/java/com/battlelancer/seriesguide/jobs/EpisodeInfo.java b/app/src/main/java/com/battlelancer/seriesguide/jobs/EpisodeInfo.java index eb103f4270..4703c4fa55 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/jobs/EpisodeInfo.java +++ b/app/src/main/java/com/battlelancer/seriesguide/jobs/EpisodeInfo.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + // automatically generated by the FlatBuffers compiler, do not modify package com.battlelancer.seriesguide.jobs; diff --git a/app/src/main/java/com/battlelancer/seriesguide/jobs/FlagJob.kt b/app/src/main/java/com/battlelancer/seriesguide/jobs/FlagJob.kt index 89d1d776a0..560b601081 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/jobs/FlagJob.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/jobs/FlagJob.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.jobs import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/jobs/FlagJobExecutor.kt b/app/src/main/java/com/battlelancer/seriesguide/jobs/FlagJobExecutor.kt index 3734701966..66f111584c 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/jobs/FlagJobExecutor.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/jobs/FlagJobExecutor.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.jobs import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/jobs/HexagonEpisodeJob.kt b/app/src/main/java/com/battlelancer/seriesguide/jobs/HexagonEpisodeJob.kt index 01b2218fd1..a9e85f4237 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/jobs/HexagonEpisodeJob.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/jobs/HexagonEpisodeJob.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.jobs import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/jobs/HexagonMovieJob.kt b/app/src/main/java/com/battlelancer/seriesguide/jobs/HexagonMovieJob.kt index c4182301d6..dfd32b7467 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/jobs/HexagonMovieJob.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/jobs/HexagonMovieJob.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.jobs import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/jobs/NetworkJob.kt b/app/src/main/java/com/battlelancer/seriesguide/jobs/NetworkJob.kt index 45f4a46ca0..ebfdff2e6a 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/jobs/NetworkJob.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/jobs/NetworkJob.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.jobs import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/jobs/NetworkJobProcessor.kt b/app/src/main/java/com/battlelancer/seriesguide/jobs/NetworkJobProcessor.kt index f7405b44a4..9ddc34c74c 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/jobs/NetworkJobProcessor.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/jobs/NetworkJobProcessor.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.jobs import android.app.NotificationManager diff --git a/app/src/main/java/com/battlelancer/seriesguide/jobs/NetworkJobResult.kt b/app/src/main/java/com/battlelancer/seriesguide/jobs/NetworkJobResult.kt index 48c927b1bc..84fcde01cf 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/jobs/NetworkJobResult.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/jobs/NetworkJobResult.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.jobs import android.app.PendingIntent diff --git a/app/src/main/java/com/battlelancer/seriesguide/jobs/SgJob.java b/app/src/main/java/com/battlelancer/seriesguide/jobs/SgJob.java index b82e0960cd..04c801c02a 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/jobs/SgJob.java +++ b/app/src/main/java/com/battlelancer/seriesguide/jobs/SgJob.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.jobs; import androidx.room.ColumnInfo; diff --git a/app/src/main/java/com/battlelancer/seriesguide/jobs/SgJobInfo.java b/app/src/main/java/com/battlelancer/seriesguide/jobs/SgJobInfo.java index 1b52d7703b..54ea492ebc 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/jobs/SgJobInfo.java +++ b/app/src/main/java/com/battlelancer/seriesguide/jobs/SgJobInfo.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + // automatically generated by the FlatBuffers compiler, do not modify package com.battlelancer.seriesguide.jobs; diff --git a/app/src/main/java/com/battlelancer/seriesguide/jobs/TraktEpisodeJob.kt b/app/src/main/java/com/battlelancer/seriesguide/jobs/TraktEpisodeJob.kt index 924551ec99..a0dabc4482 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/jobs/TraktEpisodeJob.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/jobs/TraktEpisodeJob.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.jobs import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/jobs/TraktMovieJob.kt b/app/src/main/java/com/battlelancer/seriesguide/jobs/TraktMovieJob.kt index f547596889..2e50b09c14 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/jobs/TraktMovieJob.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/jobs/TraktMovieJob.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.jobs import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/jobs/episodes/BaseEpisodesJob.java b/app/src/main/java/com/battlelancer/seriesguide/jobs/episodes/BaseEpisodesJob.java index ccb284d4b9..fefa91e430 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/jobs/episodes/BaseEpisodesJob.java +++ b/app/src/main/java/com/battlelancer/seriesguide/jobs/episodes/BaseEpisodesJob.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.jobs.episodes; import android.content.Context; diff --git a/app/src/main/java/com/battlelancer/seriesguide/jobs/episodes/EpisodeBaseJob.java b/app/src/main/java/com/battlelancer/seriesguide/jobs/episodes/EpisodeBaseJob.java index 5dcbc24e45..c8d7cd8f12 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/jobs/episodes/EpisodeBaseJob.java +++ b/app/src/main/java/com/battlelancer/seriesguide/jobs/episodes/EpisodeBaseJob.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.jobs.episodes; import android.content.Context; diff --git a/app/src/main/java/com/battlelancer/seriesguide/jobs/episodes/EpisodeCollectedJob.java b/app/src/main/java/com/battlelancer/seriesguide/jobs/episodes/EpisodeCollectedJob.java index df94efbcad..b0963c55b0 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/jobs/episodes/EpisodeCollectedJob.java +++ b/app/src/main/java/com/battlelancer/seriesguide/jobs/episodes/EpisodeCollectedJob.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.jobs.episodes; import android.content.Context; diff --git a/app/src/main/java/com/battlelancer/seriesguide/jobs/episodes/EpisodeWatchedJob.java b/app/src/main/java/com/battlelancer/seriesguide/jobs/episodes/EpisodeWatchedJob.java index 2c660e7626..70f91c6f74 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/jobs/episodes/EpisodeWatchedJob.java +++ b/app/src/main/java/com/battlelancer/seriesguide/jobs/episodes/EpisodeWatchedJob.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.jobs.episodes; import android.content.Context; diff --git a/app/src/main/java/com/battlelancer/seriesguide/jobs/episodes/EpisodeWatchedUpToJob.kt b/app/src/main/java/com/battlelancer/seriesguide/jobs/episodes/EpisodeWatchedUpToJob.kt index 339c1f95e7..fb51c18bde 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/jobs/episodes/EpisodeWatchedUpToJob.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/jobs/episodes/EpisodeWatchedUpToJob.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.jobs.episodes import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/jobs/episodes/JobAction.java b/app/src/main/java/com/battlelancer/seriesguide/jobs/episodes/JobAction.java index a47daf1533..8323d2ac5d 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/jobs/episodes/JobAction.java +++ b/app/src/main/java/com/battlelancer/seriesguide/jobs/episodes/JobAction.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.jobs.episodes; public enum JobAction { diff --git a/app/src/main/java/com/battlelancer/seriesguide/jobs/episodes/SeasonBaseJob.java b/app/src/main/java/com/battlelancer/seriesguide/jobs/episodes/SeasonBaseJob.java index 3144b12653..7f4570b7c9 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/jobs/episodes/SeasonBaseJob.java +++ b/app/src/main/java/com/battlelancer/seriesguide/jobs/episodes/SeasonBaseJob.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.jobs.episodes; import android.content.Context; diff --git a/app/src/main/java/com/battlelancer/seriesguide/jobs/episodes/SeasonCollectedJob.java b/app/src/main/java/com/battlelancer/seriesguide/jobs/episodes/SeasonCollectedJob.java index 075f012208..ccfc7146aa 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/jobs/episodes/SeasonCollectedJob.java +++ b/app/src/main/java/com/battlelancer/seriesguide/jobs/episodes/SeasonCollectedJob.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.jobs.episodes; import android.content.Context; diff --git a/app/src/main/java/com/battlelancer/seriesguide/jobs/episodes/SeasonWatchedJob.java b/app/src/main/java/com/battlelancer/seriesguide/jobs/episodes/SeasonWatchedJob.java index b7ee456aa6..1daa13bf6e 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/jobs/episodes/SeasonWatchedJob.java +++ b/app/src/main/java/com/battlelancer/seriesguide/jobs/episodes/SeasonWatchedJob.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.jobs.episodes; import android.content.Context; diff --git a/app/src/main/java/com/battlelancer/seriesguide/jobs/episodes/ShowBaseJob.java b/app/src/main/java/com/battlelancer/seriesguide/jobs/episodes/ShowBaseJob.java index 624f448f0f..ed49cde848 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/jobs/episodes/ShowBaseJob.java +++ b/app/src/main/java/com/battlelancer/seriesguide/jobs/episodes/ShowBaseJob.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.jobs.episodes; public abstract class ShowBaseJob extends BaseEpisodesJob { diff --git a/app/src/main/java/com/battlelancer/seriesguide/jobs/episodes/ShowCollectedJob.java b/app/src/main/java/com/battlelancer/seriesguide/jobs/episodes/ShowCollectedJob.java index eb8a3a04dc..cdb64cd5d2 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/jobs/episodes/ShowCollectedJob.java +++ b/app/src/main/java/com/battlelancer/seriesguide/jobs/episodes/ShowCollectedJob.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.jobs.episodes; import android.content.Context; diff --git a/app/src/main/java/com/battlelancer/seriesguide/jobs/episodes/ShowWatchedJob.java b/app/src/main/java/com/battlelancer/seriesguide/jobs/episodes/ShowWatchedJob.java index b443c99f7e..2999827193 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/jobs/episodes/ShowWatchedJob.java +++ b/app/src/main/java/com/battlelancer/seriesguide/jobs/episodes/ShowWatchedJob.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.jobs.episodes; import android.content.Context; diff --git a/app/src/main/java/com/battlelancer/seriesguide/jobs/movies/MovieCollectionJob.kt b/app/src/main/java/com/battlelancer/seriesguide/jobs/movies/MovieCollectionJob.kt index d37b8f2fbc..4ecea81068 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/jobs/movies/MovieCollectionJob.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/jobs/movies/MovieCollectionJob.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.jobs.movies import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/jobs/movies/MovieJob.kt b/app/src/main/java/com/battlelancer/seriesguide/jobs/movies/MovieJob.kt index 03ec40caae..f64cec25b1 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/jobs/movies/MovieJob.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/jobs/movies/MovieJob.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.jobs.movies import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/jobs/movies/MovieWatchedJob.kt b/app/src/main/java/com/battlelancer/seriesguide/jobs/movies/MovieWatchedJob.kt index ec336f0f2a..0bfe8df3e1 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/jobs/movies/MovieWatchedJob.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/jobs/movies/MovieWatchedJob.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.jobs.movies import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/jobs/movies/MovieWatchlistJob.kt b/app/src/main/java/com/battlelancer/seriesguide/jobs/movies/MovieWatchlistJob.kt index 977cbf898c..de3bde886a 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/jobs/movies/MovieWatchlistJob.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/jobs/movies/MovieWatchlistJob.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.jobs.movies import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/lists/AddListDialogFragment.kt b/app/src/main/java/com/battlelancer/seriesguide/lists/AddListDialogFragment.kt index da7b58ec26..16b24eb6d2 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/lists/AddListDialogFragment.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/lists/AddListDialogFragment.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.lists import android.app.Dialog diff --git a/app/src/main/java/com/battlelancer/seriesguide/lists/ListManageDialogFragment.kt b/app/src/main/java/com/battlelancer/seriesguide/lists/ListManageDialogFragment.kt index 31064e0f99..7080c749a2 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/lists/ListManageDialogFragment.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/lists/ListManageDialogFragment.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.lists import android.app.Dialog diff --git a/app/src/main/java/com/battlelancer/seriesguide/lists/ListsActivityImpl.kt b/app/src/main/java/com/battlelancer/seriesguide/lists/ListsActivityImpl.kt index 3a628401f1..87e0227216 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/lists/ListsActivityImpl.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/lists/ListsActivityImpl.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.lists import android.content.Intent diff --git a/app/src/main/java/com/battlelancer/seriesguide/lists/ListsActivityViewModel.kt b/app/src/main/java/com/battlelancer/seriesguide/lists/ListsActivityViewModel.kt index 30142a6142..1e176479bf 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/lists/ListsActivityViewModel.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/lists/ListsActivityViewModel.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.lists import android.app.Application diff --git a/app/src/main/java/com/battlelancer/seriesguide/lists/ListsAdapter.java b/app/src/main/java/com/battlelancer/seriesguide/lists/ListsAdapter.java index 576000046b..919d1473de 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/lists/ListsAdapter.java +++ b/app/src/main/java/com/battlelancer/seriesguide/lists/ListsAdapter.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.lists; import android.content.Context; diff --git a/app/src/main/java/com/battlelancer/seriesguide/lists/ListsDistillationSettings.java b/app/src/main/java/com/battlelancer/seriesguide/lists/ListsDistillationSettings.java index 6fe2613030..d7eb15e056 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/lists/ListsDistillationSettings.java +++ b/app/src/main/java/com/battlelancer/seriesguide/lists/ListsDistillationSettings.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.lists; import android.content.Context; diff --git a/app/src/main/java/com/battlelancer/seriesguide/lists/ListsPagerAdapter.kt b/app/src/main/java/com/battlelancer/seriesguide/lists/ListsPagerAdapter.kt index f9a2aaad8c..fd299c04a3 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/lists/ListsPagerAdapter.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/lists/ListsPagerAdapter.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.lists import android.annotation.SuppressLint diff --git a/app/src/main/java/com/battlelancer/seriesguide/lists/ListsReorderDialogFragment.kt b/app/src/main/java/com/battlelancer/seriesguide/lists/ListsReorderDialogFragment.kt index 496a7af782..5635c053ff 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/lists/ListsReorderDialogFragment.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/lists/ListsReorderDialogFragment.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.lists import android.app.Dialog diff --git a/app/src/main/java/com/battlelancer/seriesguide/lists/ListsSettings.kt b/app/src/main/java/com/battlelancer/seriesguide/lists/ListsSettings.kt index aa399dd7a9..5bdf22d0cb 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/lists/ListsSettings.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/lists/ListsSettings.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.lists import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/lists/ListsTools.java b/app/src/main/java/com/battlelancer/seriesguide/lists/ListsTools.java index f435dbb483..996d874036 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/lists/ListsTools.java +++ b/app/src/main/java/com/battlelancer/seriesguide/lists/ListsTools.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.lists; import android.content.Context; diff --git a/app/src/main/java/com/battlelancer/seriesguide/lists/ListsTools2.kt b/app/src/main/java/com/battlelancer/seriesguide/lists/ListsTools2.kt index b63baa8f63..b7f336f92d 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/lists/ListsTools2.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/lists/ListsTools2.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.lists import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/lists/ManageListsDialogFragment.kt b/app/src/main/java/com/battlelancer/seriesguide/lists/ManageListsDialogFragment.kt index be6b655855..a4bad53b46 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/lists/ManageListsDialogFragment.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/lists/ManageListsDialogFragment.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.lists import android.app.Dialog diff --git a/app/src/main/java/com/battlelancer/seriesguide/lists/ManageListsDialogFragmentViewModel.kt b/app/src/main/java/com/battlelancer/seriesguide/lists/ManageListsDialogFragmentViewModel.kt index 179ca3bd8f..a1edf82988 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/lists/ManageListsDialogFragmentViewModel.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/lists/ManageListsDialogFragmentViewModel.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.lists import android.app.Application diff --git a/app/src/main/java/com/battlelancer/seriesguide/lists/OrderedListsLoader.java b/app/src/main/java/com/battlelancer/seriesguide/lists/OrderedListsLoader.java index 8e3d555458..3332ac7ec5 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/lists/OrderedListsLoader.java +++ b/app/src/main/java/com/battlelancer/seriesguide/lists/OrderedListsLoader.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.lists; import android.content.Context; diff --git a/app/src/main/java/com/battlelancer/seriesguide/lists/SgListFragment.kt b/app/src/main/java/com/battlelancer/seriesguide/lists/SgListFragment.kt index da16ae0b78..399f862ca5 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/lists/SgListFragment.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/lists/SgListFragment.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.lists import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/lists/SgListItemAdapter.kt b/app/src/main/java/com/battlelancer/seriesguide/lists/SgListItemAdapter.kt index 9d61b6a468..a91f533c66 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/lists/SgListItemAdapter.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/lists/SgListItemAdapter.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.lists import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/lists/SgListItemViewModel.kt b/app/src/main/java/com/battlelancer/seriesguide/lists/SgListItemViewModel.kt index 07997d6b98..522ca5111a 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/lists/SgListItemViewModel.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/lists/SgListItemViewModel.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.lists import android.app.Application diff --git a/app/src/main/java/com/battlelancer/seriesguide/lists/database/SgList.java b/app/src/main/java/com/battlelancer/seriesguide/lists/database/SgList.java index a15462598b..0e23d9d5f7 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/lists/database/SgList.java +++ b/app/src/main/java/com/battlelancer/seriesguide/lists/database/SgList.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.lists.database; import androidx.annotation.NonNull; diff --git a/app/src/main/java/com/battlelancer/seriesguide/lists/database/SgListHelper.kt b/app/src/main/java/com/battlelancer/seriesguide/lists/database/SgListHelper.kt index ff4b3ddaf7..22815fe08a 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/lists/database/SgListHelper.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/lists/database/SgListHelper.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.lists.database import androidx.annotation.VisibleForTesting diff --git a/app/src/main/java/com/battlelancer/seriesguide/lists/database/SgListItem.java b/app/src/main/java/com/battlelancer/seriesguide/lists/database/SgListItem.java index 88b69ab819..184d648f77 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/lists/database/SgListItem.java +++ b/app/src/main/java/com/battlelancer/seriesguide/lists/database/SgListItem.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.lists.database; import androidx.annotation.NonNull; diff --git a/app/src/main/java/com/battlelancer/seriesguide/modules/AppModule.kt b/app/src/main/java/com/battlelancer/seriesguide/modules/AppModule.kt index ee29daf540..75b568345f 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/modules/AppModule.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/modules/AppModule.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.modules import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/modules/ApplicationContext.kt b/app/src/main/java/com/battlelancer/seriesguide/modules/ApplicationContext.kt index 4b8b87ef8c..8045b28a74 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/modules/ApplicationContext.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/modules/ApplicationContext.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.modules import javax.inject.Qualifier diff --git a/app/src/main/java/com/battlelancer/seriesguide/modules/HttpClientModule.kt b/app/src/main/java/com/battlelancer/seriesguide/modules/HttpClientModule.kt index 9706d030c6..b88fc733e0 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/modules/HttpClientModule.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/modules/HttpClientModule.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.modules import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/modules/ServicesComponent.kt b/app/src/main/java/com/battlelancer/seriesguide/modules/ServicesComponent.kt index a2e06b6fed..017120824b 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/modules/ServicesComponent.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/modules/ServicesComponent.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.modules import com.battlelancer.seriesguide.backend.HexagonTools diff --git a/app/src/main/java/com/battlelancer/seriesguide/modules/TmdbModule.kt b/app/src/main/java/com/battlelancer/seriesguide/modules/TmdbModule.kt index e9ae815d62..d67e6dd2a5 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/modules/TmdbModule.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/modules/TmdbModule.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.modules import com.battlelancer.seriesguide.BuildConfig diff --git a/app/src/main/java/com/battlelancer/seriesguide/modules/TraktModule.kt b/app/src/main/java/com/battlelancer/seriesguide/modules/TraktModule.kt index b913f31bb7..607741a603 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/modules/TraktModule.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/modules/TraktModule.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.modules import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/movies/MovieClickListener.kt b/app/src/main/java/com/battlelancer/seriesguide/movies/MovieClickListener.kt index 6ef7c6ade2..89ed153e3e 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/movies/MovieClickListener.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/movies/MovieClickListener.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.movies import android.view.View diff --git a/app/src/main/java/com/battlelancer/seriesguide/movies/MovieClickListenerImpl.kt b/app/src/main/java/com/battlelancer/seriesguide/movies/MovieClickListenerImpl.kt index 1a50d07f4e..983e018391 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/movies/MovieClickListenerImpl.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/movies/MovieClickListenerImpl.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.movies import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/movies/MovieLoader.kt b/app/src/main/java/com/battlelancer/seriesguide/movies/MovieLoader.kt index e154ab5599..468f4afb58 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/movies/MovieLoader.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/movies/MovieLoader.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.movies import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/movies/MovieLocalizationDialogFragment.kt b/app/src/main/java/com/battlelancer/seriesguide/movies/MovieLocalizationDialogFragment.kt index 5f8be9376d..0eeacf0df9 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/movies/MovieLocalizationDialogFragment.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/movies/MovieLocalizationDialogFragment.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.movies import android.annotation.SuppressLint diff --git a/app/src/main/java/com/battlelancer/seriesguide/movies/MovieViewHolder.kt b/app/src/main/java/com/battlelancer/seriesguide/movies/MovieViewHolder.kt index 76d56d27b7..a99518c1d6 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/movies/MovieViewHolder.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/movies/MovieViewHolder.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.movies import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/movies/MoviesActivityImpl.kt b/app/src/main/java/com/battlelancer/seriesguide/movies/MoviesActivityImpl.kt index b67fe2229a..f1a3af257d 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/movies/MoviesActivityImpl.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/movies/MoviesActivityImpl.kt @@ -1,3 +1,7 @@ +// Copyright 2013-2023 Uwe Trottmann +// Copyright 2017 Christophe Beyls +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.movies import android.content.Intent diff --git a/app/src/main/java/com/battlelancer/seriesguide/movies/MoviesActivityViewModel.kt b/app/src/main/java/com/battlelancer/seriesguide/movies/MoviesActivityViewModel.kt index 54c45289f8..b75d2d2545 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/movies/MoviesActivityViewModel.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/movies/MoviesActivityViewModel.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.movies import androidx.lifecycle.MutableLiveData diff --git a/app/src/main/java/com/battlelancer/seriesguide/movies/MoviesBaseFragment.kt b/app/src/main/java/com/battlelancer/seriesguide/movies/MoviesBaseFragment.kt index aedf3935a3..e4775b5e35 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/movies/MoviesBaseFragment.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/movies/MoviesBaseFragment.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.movies import android.database.Cursor diff --git a/app/src/main/java/com/battlelancer/seriesguide/movies/MoviesCollectionFragment.kt b/app/src/main/java/com/battlelancer/seriesguide/movies/MoviesCollectionFragment.kt index bb0262c45a..01dc72c38e 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/movies/MoviesCollectionFragment.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/movies/MoviesCollectionFragment.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.movies import android.database.Cursor diff --git a/app/src/main/java/com/battlelancer/seriesguide/movies/MoviesCursorAdapter.java b/app/src/main/java/com/battlelancer/seriesguide/movies/MoviesCursorAdapter.java index 423609ee8c..1103b06dab 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/movies/MoviesCursorAdapter.java +++ b/app/src/main/java/com/battlelancer/seriesguide/movies/MoviesCursorAdapter.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.movies; import static com.battlelancer.seriesguide.provider.SeriesGuideContract.Movies; diff --git a/app/src/main/java/com/battlelancer/seriesguide/movies/MoviesDiscoverAdapter.java b/app/src/main/java/com/battlelancer/seriesguide/movies/MoviesDiscoverAdapter.java index 61341b1dfa..d57c6817c6 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/movies/MoviesDiscoverAdapter.java +++ b/app/src/main/java/com/battlelancer/seriesguide/movies/MoviesDiscoverAdapter.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.movies; import android.annotation.SuppressLint; diff --git a/app/src/main/java/com/battlelancer/seriesguide/movies/MoviesDiscoverFragment.kt b/app/src/main/java/com/battlelancer/seriesguide/movies/MoviesDiscoverFragment.kt index 2be32f84fd..a89f2fe3ac 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/movies/MoviesDiscoverFragment.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/movies/MoviesDiscoverFragment.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.movies import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/movies/MoviesDiscoverLink.java b/app/src/main/java/com/battlelancer/seriesguide/movies/MoviesDiscoverLink.java index 22351fd619..46927f3a10 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/movies/MoviesDiscoverLink.java +++ b/app/src/main/java/com/battlelancer/seriesguide/movies/MoviesDiscoverLink.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.movies; import androidx.annotation.StringRes; diff --git a/app/src/main/java/com/battlelancer/seriesguide/movies/MoviesDiscoverLoader.kt b/app/src/main/java/com/battlelancer/seriesguide/movies/MoviesDiscoverLoader.kt index a27983a123..b528517986 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/movies/MoviesDiscoverLoader.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/movies/MoviesDiscoverLoader.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.movies import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/movies/MoviesDistillationSettings.java b/app/src/main/java/com/battlelancer/seriesguide/movies/MoviesDistillationSettings.java index 08097a2bdb..8bd81ac189 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/movies/MoviesDistillationSettings.java +++ b/app/src/main/java/com/battlelancer/seriesguide/movies/MoviesDistillationSettings.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.movies; import static com.battlelancer.seriesguide.provider.SeriesGuideContract.Movies; diff --git a/app/src/main/java/com/battlelancer/seriesguide/movies/MoviesNowAdapter.kt b/app/src/main/java/com/battlelancer/seriesguide/movies/MoviesNowAdapter.kt index e3022d943e..de57faa9d1 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/movies/MoviesNowAdapter.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/movies/MoviesNowAdapter.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.movies import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/movies/MoviesNowFragment.kt b/app/src/main/java/com/battlelancer/seriesguide/movies/MoviesNowFragment.kt index 490a5e02c2..a7bfbb3a21 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/movies/MoviesNowFragment.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/movies/MoviesNowFragment.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.movies import android.content.Intent diff --git a/app/src/main/java/com/battlelancer/seriesguide/movies/MoviesOptionsMenu.kt b/app/src/main/java/com/battlelancer/seriesguide/movies/MoviesOptionsMenu.kt index 81bcb19fce..2684114681 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/movies/MoviesOptionsMenu.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/movies/MoviesOptionsMenu.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.movies import android.app.Activity diff --git a/app/src/main/java/com/battlelancer/seriesguide/movies/MoviesSettings.kt b/app/src/main/java/com/battlelancer/seriesguide/movies/MoviesSettings.kt index 98447cc4c7..669a91ff71 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/movies/MoviesSettings.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/movies/MoviesSettings.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.movies import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/movies/MoviesWatchListFragment.kt b/app/src/main/java/com/battlelancer/seriesguide/movies/MoviesWatchListFragment.kt index bdcdddbdb5..aa5df1051d 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/movies/MoviesWatchListFragment.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/movies/MoviesWatchListFragment.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.movies import android.database.Cursor diff --git a/app/src/main/java/com/battlelancer/seriesguide/movies/MoviesWatchedAdapter.kt b/app/src/main/java/com/battlelancer/seriesguide/movies/MoviesWatchedAdapter.kt index 55ebfacdba..57931aee2d 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/movies/MoviesWatchedAdapter.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/movies/MoviesWatchedAdapter.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.movies import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/movies/MoviesWatchedFragment.kt b/app/src/main/java/com/battlelancer/seriesguide/movies/MoviesWatchedFragment.kt index 8e8232d6ee..48a01e973b 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/movies/MoviesWatchedFragment.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/movies/MoviesWatchedFragment.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.movies import android.os.Bundle diff --git a/app/src/main/java/com/battlelancer/seriesguide/movies/MoviesWatchedViewModel.kt b/app/src/main/java/com/battlelancer/seriesguide/movies/MoviesWatchedViewModel.kt index 010f9b9690..6a4eba08b7 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/movies/MoviesWatchedViewModel.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/movies/MoviesWatchedViewModel.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.movies import android.app.Application diff --git a/app/src/main/java/com/battlelancer/seriesguide/movies/TmdbMoviesDataSource.kt b/app/src/main/java/com/battlelancer/seriesguide/movies/TmdbMoviesDataSource.kt index dd805280d4..abcb028020 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/movies/TmdbMoviesDataSource.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/movies/TmdbMoviesDataSource.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.movies import android.content.Context @@ -207,16 +210,11 @@ class TmdbMoviesDataSource( } override fun getRefreshKey(state: PagingState): Int? { - // Try to find the page key of the closest page to anchorPosition, from - // either the prevKey or the nextKey, but you need to handle nullability - // here: - // * prevKey == null -> anchorPage is the first page. - // * nextKey == null -> anchorPage is the last page. - // * both prevKey and nextKey null -> anchorPage is the initial page, so - // just return null. + // Always start loading at the previous page. + // As refresh is currently only triggered by swipe-to-refresh will always be the first + // page (prevKey == null). return state.anchorPosition?.let { anchorPosition -> - val anchorPage = state.closestPageToPosition(anchorPosition) - anchorPage?.prevKey?.plus(1) ?: anchorPage?.nextKey?.minus(1) + state.closestPageToPosition(anchorPosition)?.prevKey } } diff --git a/app/src/main/java/com/battlelancer/seriesguide/movies/TraktFriendsMovieHistoryLoader.kt b/app/src/main/java/com/battlelancer/seriesguide/movies/TraktFriendsMovieHistoryLoader.kt index 748160b9ba..8cfbee1b2a 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/movies/TraktFriendsMovieHistoryLoader.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/movies/TraktFriendsMovieHistoryLoader.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.movies import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/movies/TraktRecentMovieHistoryLoader.java b/app/src/main/java/com/battlelancer/seriesguide/movies/TraktRecentMovieHistoryLoader.java index 9105b68be7..3e75befd70 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/movies/TraktRecentMovieHistoryLoader.java +++ b/app/src/main/java/com/battlelancer/seriesguide/movies/TraktRecentMovieHistoryLoader.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.movies; import android.app.Activity; diff --git a/app/src/main/java/com/battlelancer/seriesguide/movies/database/MovieHelper.kt b/app/src/main/java/com/battlelancer/seriesguide/movies/database/MovieHelper.kt index 0ed64e5851..b90a7bcbf9 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/movies/database/MovieHelper.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/movies/database/MovieHelper.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.movies.database import androidx.paging.PagingSource diff --git a/app/src/main/java/com/battlelancer/seriesguide/movies/database/SgMovie.java b/app/src/main/java/com/battlelancer/seriesguide/movies/database/SgMovie.java index 626b6070c3..4ade568568 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/movies/database/SgMovie.java +++ b/app/src/main/java/com/battlelancer/seriesguide/movies/database/SgMovie.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.movies.database; import androidx.room.ColumnInfo; diff --git a/app/src/main/java/com/battlelancer/seriesguide/movies/database/SgMovieFlags.kt b/app/src/main/java/com/battlelancer/seriesguide/movies/database/SgMovieFlags.kt index d43b794a7f..9ba17b59fc 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/movies/database/SgMovieFlags.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/movies/database/SgMovieFlags.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.movies.database import androidx.room.ColumnInfo diff --git a/app/src/main/java/com/battlelancer/seriesguide/movies/database/SgMovieTmdbId.java b/app/src/main/java/com/battlelancer/seriesguide/movies/database/SgMovieTmdbId.java index 3f8bb25f80..b4d092d601 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/movies/database/SgMovieTmdbId.java +++ b/app/src/main/java/com/battlelancer/seriesguide/movies/database/SgMovieTmdbId.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.movies.database; import androidx.room.ColumnInfo; diff --git a/app/src/main/java/com/battlelancer/seriesguide/movies/details/MovieDetails.java b/app/src/main/java/com/battlelancer/seriesguide/movies/details/MovieDetails.java index 6dc4168365..6f9583f794 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/movies/details/MovieDetails.java +++ b/app/src/main/java/com/battlelancer/seriesguide/movies/details/MovieDetails.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.movies.details; import android.content.ContentValues; diff --git a/app/src/main/java/com/battlelancer/seriesguide/movies/details/MovieDetailsActivity.kt b/app/src/main/java/com/battlelancer/seriesguide/movies/details/MovieDetailsActivity.kt index 945504d398..f781866e22 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/movies/details/MovieDetailsActivity.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/movies/details/MovieDetailsActivity.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.movies.details import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/movies/details/MovieDetailsFragment.kt b/app/src/main/java/com/battlelancer/seriesguide/movies/details/MovieDetailsFragment.kt index f524fb8a24..8989ba6119 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/movies/details/MovieDetailsFragment.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/movies/details/MovieDetailsFragment.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.movies.details import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/movies/details/MovieDetailsModel.kt b/app/src/main/java/com/battlelancer/seriesguide/movies/details/MovieDetailsModel.kt index 26225858e2..137066ee54 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/movies/details/MovieDetailsModel.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/movies/details/MovieDetailsModel.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.movies.details import android.app.Application diff --git a/app/src/main/java/com/battlelancer/seriesguide/movies/details/MovieTrailersLoader.kt b/app/src/main/java/com/battlelancer/seriesguide/movies/details/MovieTrailersLoader.kt index c0b91f2d8a..dc4967541e 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/movies/details/MovieTrailersLoader.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/movies/details/MovieTrailersLoader.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.movies.details import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/movies/search/MoviesSearchActivity.kt b/app/src/main/java/com/battlelancer/seriesguide/movies/search/MoviesSearchActivity.kt index ed10c5ce76..ad01ce77d3 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/movies/search/MoviesSearchActivity.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/movies/search/MoviesSearchActivity.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.movies.search import android.os.Bundle diff --git a/app/src/main/java/com/battlelancer/seriesguide/movies/search/MoviesSearchAdapter.kt b/app/src/main/java/com/battlelancer/seriesguide/movies/search/MoviesSearchAdapter.kt index 0325bf35b0..f976199078 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/movies/search/MoviesSearchAdapter.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/movies/search/MoviesSearchAdapter.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.movies.search import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/movies/search/MoviesSearchFragment.kt b/app/src/main/java/com/battlelancer/seriesguide/movies/search/MoviesSearchFragment.kt index 4665000c75..9a6a8c2e2c 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/movies/search/MoviesSearchFragment.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/movies/search/MoviesSearchFragment.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.movies.search import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/movies/search/MoviesSearchViewModel.kt b/app/src/main/java/com/battlelancer/seriesguide/movies/search/MoviesSearchViewModel.kt index e07825ca06..66b8037892 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/movies/search/MoviesSearchViewModel.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/movies/search/MoviesSearchViewModel.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.movies.search import android.app.Application diff --git a/app/src/main/java/com/battlelancer/seriesguide/movies/similar/SimilarMoviesActivity.kt b/app/src/main/java/com/battlelancer/seriesguide/movies/similar/SimilarMoviesActivity.kt index de1b2fb7b8..02ef160fd2 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/movies/similar/SimilarMoviesActivity.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/movies/similar/SimilarMoviesActivity.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.movies.similar import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/movies/similar/SimilarMoviesAdapter.kt b/app/src/main/java/com/battlelancer/seriesguide/movies/similar/SimilarMoviesAdapter.kt index fc2c522fa7..66abb8d7b9 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/movies/similar/SimilarMoviesAdapter.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/movies/similar/SimilarMoviesAdapter.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.movies.similar import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/movies/similar/SimilarMoviesFragment.kt b/app/src/main/java/com/battlelancer/seriesguide/movies/similar/SimilarMoviesFragment.kt index 78de01e8b6..6c1b89e425 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/movies/similar/SimilarMoviesFragment.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/movies/similar/SimilarMoviesFragment.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.movies.similar import android.content.Intent diff --git a/app/src/main/java/com/battlelancer/seriesguide/movies/similar/SimilarMoviesViewModel.kt b/app/src/main/java/com/battlelancer/seriesguide/movies/similar/SimilarMoviesViewModel.kt index e47cdb9274..9ed4006dea 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/movies/similar/SimilarMoviesViewModel.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/movies/similar/SimilarMoviesViewModel.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.movies.similar import android.app.Application diff --git a/app/src/main/java/com/battlelancer/seriesguide/movies/tools/MovieTools.java b/app/src/main/java/com/battlelancer/seriesguide/movies/tools/MovieTools.java index d99071276d..6c54ca864e 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/movies/tools/MovieTools.java +++ b/app/src/main/java/com/battlelancer/seriesguide/movies/tools/MovieTools.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.movies.tools; import android.content.ContentValues; diff --git a/app/src/main/java/com/battlelancer/seriesguide/movies/tools/MovieTools2.kt b/app/src/main/java/com/battlelancer/seriesguide/movies/tools/MovieTools2.kt index 1f7e57f6f7..d3d066c494 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/movies/tools/MovieTools2.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/movies/tools/MovieTools2.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.movies.tools import com.uwetrottmann.tmdb2.entities.Movie diff --git a/app/src/main/java/com/battlelancer/seriesguide/notifications/NotificationActionReceiver.kt b/app/src/main/java/com/battlelancer/seriesguide/notifications/NotificationActionReceiver.kt index aa26acb02b..5e8d4a0144 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/notifications/NotificationActionReceiver.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/notifications/NotificationActionReceiver.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.notifications import android.content.BroadcastReceiver diff --git a/app/src/main/java/com/battlelancer/seriesguide/notifications/NotificationAlarmReceiver.kt b/app/src/main/java/com/battlelancer/seriesguide/notifications/NotificationAlarmReceiver.kt index f9847569d7..fb0b0f57a2 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/notifications/NotificationAlarmReceiver.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/notifications/NotificationAlarmReceiver.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.notifications import android.app.AlarmManager diff --git a/app/src/main/java/com/battlelancer/seriesguide/notifications/NotificationService.kt b/app/src/main/java/com/battlelancer/seriesguide/notifications/NotificationService.kt index a204461a7a..db171806d2 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/notifications/NotificationService.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/notifications/NotificationService.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.notifications import android.annotation.SuppressLint diff --git a/app/src/main/java/com/battlelancer/seriesguide/people/PeopleActivity.kt b/app/src/main/java/com/battlelancer/seriesguide/people/PeopleActivity.kt index 2d84c8b72b..93dac895d6 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/people/PeopleActivity.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/people/PeopleActivity.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.people import android.content.Intent diff --git a/app/src/main/java/com/battlelancer/seriesguide/people/PeopleAdapter.java b/app/src/main/java/com/battlelancer/seriesguide/people/PeopleAdapter.java index 62eb8a5183..7a9d9320a7 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/people/PeopleAdapter.java +++ b/app/src/main/java/com/battlelancer/seriesguide/people/PeopleAdapter.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.people; import android.content.Context; diff --git a/app/src/main/java/com/battlelancer/seriesguide/people/PeopleFragment.kt b/app/src/main/java/com/battlelancer/seriesguide/people/PeopleFragment.kt index 78d8b7b5f8..dc816b804e 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/people/PeopleFragment.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/people/PeopleFragment.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.people import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/people/PeopleListHelper.java b/app/src/main/java/com/battlelancer/seriesguide/people/PeopleListHelper.java index ec1217fe4d..a31a07e1fc 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/people/PeopleListHelper.java +++ b/app/src/main/java/com/battlelancer/seriesguide/people/PeopleListHelper.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.people; import android.app.Activity; diff --git a/app/src/main/java/com/battlelancer/seriesguide/people/PeopleSettings.kt b/app/src/main/java/com/battlelancer/seriesguide/people/PeopleSettings.kt index d7be197d1a..5c415d1d42 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/people/PeopleSettings.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/people/PeopleSettings.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.people import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/people/PeopleViewModel.kt b/app/src/main/java/com/battlelancer/seriesguide/people/PeopleViewModel.kt index ef5d673c8f..f560a3fbd9 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/people/PeopleViewModel.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/people/PeopleViewModel.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.people import android.app.Application diff --git a/app/src/main/java/com/battlelancer/seriesguide/people/PersonActivity.kt b/app/src/main/java/com/battlelancer/seriesguide/people/PersonActivity.kt index e2b1e58959..18f8e7876a 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/people/PersonActivity.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/people/PersonActivity.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.people import android.os.Bundle diff --git a/app/src/main/java/com/battlelancer/seriesguide/people/PersonFragment.kt b/app/src/main/java/com/battlelancer/seriesguide/people/PersonFragment.kt index 7a6640e758..4327b39a70 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/people/PersonFragment.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/people/PersonFragment.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.people import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/people/PersonViewModel.kt b/app/src/main/java/com/battlelancer/seriesguide/people/PersonViewModel.kt index fd7f99bd62..eae927bfb7 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/people/PersonViewModel.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/people/PersonViewModel.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.people import android.app.Application diff --git a/app/src/main/java/com/battlelancer/seriesguide/preferences/AboutActivity.kt b/app/src/main/java/com/battlelancer/seriesguide/preferences/AboutActivity.kt index 6823414513..8cdf604b81 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/preferences/AboutActivity.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/preferences/AboutActivity.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.preferences import android.os.Bundle diff --git a/app/src/main/java/com/battlelancer/seriesguide/preferences/AboutPreferencesFragment.kt b/app/src/main/java/com/battlelancer/seriesguide/preferences/AboutPreferencesFragment.kt index 5d6204dbcb..59f4100540 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/preferences/AboutPreferencesFragment.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/preferences/AboutPreferencesFragment.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.preferences import android.os.Bundle diff --git a/app/src/main/java/com/battlelancer/seriesguide/preferences/DebugViewFragment.kt b/app/src/main/java/com/battlelancer/seriesguide/preferences/DebugViewFragment.kt index b0c980810e..c1aca8831f 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/preferences/DebugViewFragment.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/preferences/DebugViewFragment.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.preferences @@ -5,6 +8,7 @@ import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup +import android.widget.Toast import androidx.appcompat.app.AppCompatDialogFragment import androidx.fragment.app.DialogFragment import androidx.lifecycle.lifecycleScope @@ -12,6 +16,7 @@ import androidx.sqlite.db.SimpleSQLiteQuery import com.battlelancer.seriesguide.R import com.battlelancer.seriesguide.notifications.NotificationService import com.battlelancer.seriesguide.provider.SgRoomDatabase +import com.battlelancer.seriesguide.settings.AppSettings import com.battlelancer.seriesguide.shows.database.SgEpisode2WithShow import com.battlelancer.seriesguide.sync.SgSyncAdapter import com.battlelancer.seriesguide.traktapi.TraktCredentials @@ -74,19 +79,30 @@ class DebugViewFragment : AppCompatDialogFragment() { SgSyncAdapter.requestSyncJobsImmediate(requireContext()) } + val buttonDemoMode = ButtonAction("Toggle demo mode") { + toggleDemoMode() + } + debugView.modules( - ActionsModule("Notifications", + ActionsModule( + "Notifications", showTestNotification1, showTestNotification3 ), - ActionsModule("Trakt", + ActionsModule( + "Trakt", buttonClearTraktRefreshToken, buttonInvalidateTraktAccessToken, buttonInvalidateTraktRefreshToken ), - ActionsModule("Jobs", + ActionsModule( + "Jobs", buttonTriggerJobProcessor ), + ActionsModule( + "Demo mode", + buttonDemoMode + ), TimberModule("${requireContext().packageName}.fileprovider"), DeviceModule() ) @@ -107,4 +123,11 @@ class DebugViewFragment : AppCompatDialogFragment() { } } + private fun toggleDemoMode() { + val isEnabledOld = AppSettings.isDemoModeEnabled(requireContext()) + AppSettings.setDemoModeState(requireContext(), !isEnabledOld) + val isEnabledNew = AppSettings.isDemoModeEnabled(requireContext()) + Toast.makeText(requireContext(), "Demo mode: $isEnabledNew", Toast.LENGTH_LONG).show() + } + } diff --git a/app/src/main/java/com/battlelancer/seriesguide/preferences/MoreOptionsActivity.kt b/app/src/main/java/com/battlelancer/seriesguide/preferences/MoreOptionsActivity.kt index 4381022558..1e7b1b1b54 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/preferences/MoreOptionsActivity.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/preferences/MoreOptionsActivity.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.preferences import android.annotation.SuppressLint diff --git a/app/src/main/java/com/battlelancer/seriesguide/preferences/NotificationSelectionDialogFragment.kt b/app/src/main/java/com/battlelancer/seriesguide/preferences/NotificationSelectionDialogFragment.kt index 875c58e3a0..ec867d5338 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/preferences/NotificationSelectionDialogFragment.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/preferences/NotificationSelectionDialogFragment.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.preferences import android.app.Application diff --git a/app/src/main/java/com/battlelancer/seriesguide/preferences/NotificationThresholdDialogFragment.kt b/app/src/main/java/com/battlelancer/seriesguide/preferences/NotificationThresholdDialogFragment.kt index 5e54a1ab61..82fef8dc33 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/preferences/NotificationThresholdDialogFragment.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/preferences/NotificationThresholdDialogFragment.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.preferences import android.app.Dialog diff --git a/app/src/main/java/com/battlelancer/seriesguide/preferences/PreferencesActivityImpl.kt b/app/src/main/java/com/battlelancer/seriesguide/preferences/PreferencesActivityImpl.kt index 74fd5da89f..4d282ff748 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/preferences/PreferencesActivityImpl.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/preferences/PreferencesActivityImpl.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.preferences import android.os.Bundle diff --git a/app/src/main/java/com/battlelancer/seriesguide/preferences/SgPreferencesFragment.kt b/app/src/main/java/com/battlelancer/seriesguide/preferences/SgPreferencesFragment.kt index 7ebca193de..18a57923b4 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/preferences/SgPreferencesFragment.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/preferences/SgPreferencesFragment.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.preferences import android.app.backup.BackupManager diff --git a/app/src/main/java/com/battlelancer/seriesguide/preferences/TimeOffsetDialogFragment.kt b/app/src/main/java/com/battlelancer/seriesguide/preferences/TimeOffsetDialogFragment.kt index 915d96c00e..e3e20c5283 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/preferences/TimeOffsetDialogFragment.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/preferences/TimeOffsetDialogFragment.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.preferences import android.annotation.SuppressLint diff --git a/app/src/main/java/com/battlelancer/seriesguide/provider/SeriesGuideContract.java b/app/src/main/java/com/battlelancer/seriesguide/provider/SeriesGuideContract.java index b6d2c0904f..5b87f7e65d 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/provider/SeriesGuideContract.java +++ b/app/src/main/java/com/battlelancer/seriesguide/provider/SeriesGuideContract.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.provider; import android.net.Uri; diff --git a/app/src/main/java/com/battlelancer/seriesguide/provider/SeriesGuideDatabase.java b/app/src/main/java/com/battlelancer/seriesguide/provider/SeriesGuideDatabase.java index d8497bfcec..f1b7ee4466 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/provider/SeriesGuideDatabase.java +++ b/app/src/main/java/com/battlelancer/seriesguide/provider/SeriesGuideDatabase.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.provider; import static com.battlelancer.seriesguide.provider.SeriesGuideContract.ActivityColumns; diff --git a/app/src/main/java/com/battlelancer/seriesguide/provider/SeriesGuideProvider.java b/app/src/main/java/com/battlelancer/seriesguide/provider/SeriesGuideProvider.java index 5fcdb381b2..4784cce755 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/provider/SeriesGuideProvider.java +++ b/app/src/main/java/com/battlelancer/seriesguide/provider/SeriesGuideProvider.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.provider; import static com.battlelancer.seriesguide.provider.SeriesGuideContract.ListItems; diff --git a/app/src/main/java/com/battlelancer/seriesguide/provider/SgRoomDatabase.kt b/app/src/main/java/com/battlelancer/seriesguide/provider/SgRoomDatabase.kt index 43a76e13c9..f50b8ee93c 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/provider/SgRoomDatabase.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/provider/SgRoomDatabase.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.provider import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/settings/AdvancedSettings.kt b/app/src/main/java/com/battlelancer/seriesguide/settings/AdvancedSettings.kt index f333933de2..b773ea1bc1 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/settings/AdvancedSettings.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/settings/AdvancedSettings.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.settings import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/settings/AmazonSettings.java b/app/src/main/java/com/battlelancer/seriesguide/settings/AmazonSettings.java index 2462a55648..31919c120e 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/settings/AmazonSettings.java +++ b/app/src/main/java/com/battlelancer/seriesguide/settings/AmazonSettings.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.settings; import android.content.Context; diff --git a/app/src/main/java/com/battlelancer/seriesguide/settings/AppSettings.kt b/app/src/main/java/com/battlelancer/seriesguide/settings/AppSettings.kt index 17acb36ad7..9a3a1bc982 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/settings/AppSettings.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/settings/AppSettings.kt @@ -1,8 +1,12 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.settings import android.content.Context import android.content.pm.PackageManager import android.text.format.DateUtils +import androidx.core.content.edit import androidx.preference.PreferenceManager import com.battlelancer.seriesguide.BuildConfig import com.battlelancer.seriesguide.util.Errors @@ -21,6 +25,7 @@ object AppSettings { const val KEY_ASKED_FOR_FEEDBACK = "askedForFeedback" const val KEY_SEND_ERROR_REPORTS = "com.battlelancer.seriesguide.sendErrorReports" const val KEY_USER_DEBUG_MODE_ENBALED = "com.battlelancer.seriesguide.userDebugModeEnabled" + const val KEY_DEMO_MODE_ENABLED = "com.uwetrottmann.seriesguide.demoMode" /** * Returns the version code of the previously installed version. Is the current version on fresh @@ -90,4 +95,22 @@ object AppSettings { return BuildConfig.DEBUG || PreferenceManager.getDefaultSharedPreferences(context) .getBoolean(KEY_USER_DEBUG_MODE_ENBALED, false) } + + fun setDemoModeState(context: Context, isEnabled: Boolean) { + if (!BuildConfig.DEBUG) { + return // Prevent enabling on release builds. + } + PreferenceManager.getDefaultSharedPreferences(context).edit { + putBoolean(KEY_DEMO_MODE_ENABLED, isEnabled) + } + } + + /** + * Returns if demo mode should be enabled (e.g. enables fetching of demo images). + * Only works on debug builds. + */ + fun isDemoModeEnabled(context: Context): Boolean { + return BuildConfig.DEBUG && PreferenceManager.getDefaultSharedPreferences(context) + .getBoolean(KEY_DEMO_MODE_ENABLED, false) + } } \ No newline at end of file diff --git a/app/src/main/java/com/battlelancer/seriesguide/settings/DisplaySettings.kt b/app/src/main/java/com/battlelancer/seriesguide/settings/DisplaySettings.kt index 9a758d4f12..4592d1319e 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/settings/DisplaySettings.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/settings/DisplaySettings.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.settings import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/settings/NotificationSettings.kt b/app/src/main/java/com/battlelancer/seriesguide/settings/NotificationSettings.kt index cf7ea01646..f5918d0a18 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/settings/NotificationSettings.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/settings/NotificationSettings.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.settings import android.app.AlarmManager diff --git a/app/src/main/java/com/battlelancer/seriesguide/settings/TmdbSettings.java b/app/src/main/java/com/battlelancer/seriesguide/settings/TmdbSettings.java index 10428ba4b4..971a5d3941 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/settings/TmdbSettings.java +++ b/app/src/main/java/com/battlelancer/seriesguide/settings/TmdbSettings.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.settings; import android.content.Context; diff --git a/app/src/main/java/com/battlelancer/seriesguide/settings/UpdateSettings.java b/app/src/main/java/com/battlelancer/seriesguide/settings/UpdateSettings.java index 8467cd9ed5..462a5ed448 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/settings/UpdateSettings.java +++ b/app/src/main/java/com/battlelancer/seriesguide/settings/UpdateSettings.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.settings; import android.annotation.SuppressLint; diff --git a/app/src/main/java/com/battlelancer/seriesguide/settings/WidgetSettings.kt b/app/src/main/java/com/battlelancer/seriesguide/settings/WidgetSettings.kt index e114ca46fb..d0c8a8630c 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/settings/WidgetSettings.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/settings/WidgetSettings.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.settings import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/FabRecyclerViewScrollDetector.kt b/app/src/main/java/com/battlelancer/seriesguide/shows/FabRecyclerViewScrollDetector.kt index 82c7087c2b..7d011e6ffc 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/FabRecyclerViewScrollDetector.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/FabRecyclerViewScrollDetector.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows import androidx.recyclerview.widget.RecyclerView diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/FilterShowsView.kt b/app/src/main/java/com/battlelancer/seriesguide/shows/FilterShowsView.kt index 00755f60de..33c3edc3c2 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/FilterShowsView.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/FilterShowsView.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/FirstRunView.kt b/app/src/main/java/com/battlelancer/seriesguide/shows/FirstRunView.kt index 0d312d7667..14cff4578c 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/FirstRunView.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/FirstRunView.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/FirstRunViewHolder.kt b/app/src/main/java/com/battlelancer/seriesguide/shows/FirstRunViewHolder.kt index db156731c2..fe564ba481 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/FirstRunViewHolder.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/FirstRunViewHolder.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows import android.view.LayoutInflater diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/MakeAllVisibleDialogFragment.kt b/app/src/main/java/com/battlelancer/seriesguide/shows/MakeAllVisibleDialogFragment.kt index b3abb2a6b0..ad1a9490f6 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/MakeAllVisibleDialogFragment.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/MakeAllVisibleDialogFragment.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows import android.annotation.SuppressLint diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/RemoveShowDialogFragment.kt b/app/src/main/java/com/battlelancer/seriesguide/shows/RemoveShowDialogFragment.kt index 64debe2be9..d9dc5aa17f 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/RemoveShowDialogFragment.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/RemoveShowDialogFragment.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows import android.app.Dialog diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/ShowMenuItemClickListener.java b/app/src/main/java/com/battlelancer/seriesguide/shows/ShowMenuItemClickListener.java index e5bfaf0c96..62e184db1a 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/ShowMenuItemClickListener.java +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/ShowMenuItemClickListener.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows; import android.content.Context; diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/ShowsActivityImpl.kt b/app/src/main/java/com/battlelancer/seriesguide/shows/ShowsActivityImpl.kt index da0556ffde..bdf46454a3 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/ShowsActivityImpl.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/ShowsActivityImpl.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows import android.content.Intent diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/ShowsActivityViewModel.kt b/app/src/main/java/com/battlelancer/seriesguide/shows/ShowsActivityViewModel.kt index abd27a892b..b39cbab5a6 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/ShowsActivityViewModel.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/ShowsActivityViewModel.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows import androidx.lifecycle.MutableLiveData diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/ShowsAdapter.kt b/app/src/main/java/com/battlelancer/seriesguide/shows/ShowsAdapter.kt index 5ef83dd85a..5e3a911db6 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/ShowsAdapter.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/ShowsAdapter.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/ShowsDistillationFragment.kt b/app/src/main/java/com/battlelancer/seriesguide/shows/ShowsDistillationFragment.kt index 5686917047..3b6e94bdf3 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/ShowsDistillationFragment.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/ShowsDistillationFragment.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows import android.os.Bundle diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/ShowsDistillationPageAdapter.kt b/app/src/main/java/com/battlelancer/seriesguide/shows/ShowsDistillationPageAdapter.kt index 5391090826..b32c7471b5 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/ShowsDistillationPageAdapter.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/ShowsDistillationPageAdapter.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/ShowsDistillationSettings.kt b/app/src/main/java/com/battlelancer/seriesguide/shows/ShowsDistillationSettings.kt index 64594c14f7..4b023f9c43 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/ShowsDistillationSettings.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/ShowsDistillationSettings.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/ShowsFragment.kt b/app/src/main/java/com/battlelancer/seriesguide/shows/ShowsFragment.kt index 0d01c3486b..4f51e1244d 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/ShowsFragment.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/ShowsFragment.kt @@ -1,3 +1,7 @@ +// Copyright 2012-2023 Uwe Trottmann +// Copyright 2013 Andrew Neal +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows import android.Manifest diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/ShowsSettings.kt b/app/src/main/java/com/battlelancer/seriesguide/shows/ShowsSettings.kt index 9b79b3c012..12aca143d8 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/ShowsSettings.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/ShowsSettings.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/ShowsViewHolder.kt b/app/src/main/java/com/battlelancer/seriesguide/shows/ShowsViewHolder.kt index b4d10dfad6..044f77c2c8 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/ShowsViewHolder.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/ShowsViewHolder.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/ShowsViewModel.kt b/app/src/main/java/com/battlelancer/seriesguide/shows/ShowsViewModel.kt index baea12926a..a0660a4ec7 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/ShowsViewModel.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/ShowsViewModel.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows import android.app.Application diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/SortShowsView.kt b/app/src/main/java/com/battlelancer/seriesguide/shows/SortShowsView.kt index 80bc59c454..61fb5303e0 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/SortShowsView.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/SortShowsView.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/calendar/CalendarAdapter2.kt b/app/src/main/java/com/battlelancer/seriesguide/shows/calendar/CalendarAdapter2.kt index ca4bd9879c..fc6ed111e8 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/calendar/CalendarAdapter2.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/calendar/CalendarAdapter2.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows.calendar import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/calendar/CalendarFragment2.kt b/app/src/main/java/com/battlelancer/seriesguide/shows/calendar/CalendarFragment2.kt index 3e139ccc3d..236727ae23 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/calendar/CalendarFragment2.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/calendar/CalendarFragment2.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows.calendar import android.content.SharedPreferences diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/calendar/CalendarFragment2ViewModel.kt b/app/src/main/java/com/battlelancer/seriesguide/shows/calendar/CalendarFragment2ViewModel.kt index e412d155a5..ab9b88cb5b 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/calendar/CalendarFragment2ViewModel.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/calendar/CalendarFragment2ViewModel.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows.calendar import android.app.Application diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/calendar/CalendarItemViewHolder.kt b/app/src/main/java/com/battlelancer/seriesguide/shows/calendar/CalendarItemViewHolder.kt index 16fb912444..1905bc4758 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/calendar/CalendarItemViewHolder.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/calendar/CalendarItemViewHolder.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows.calendar import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/calendar/CalendarSettings.kt b/app/src/main/java/com/battlelancer/seriesguide/shows/calendar/CalendarSettings.kt index 933ac32085..55e0eb5c9f 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/calendar/CalendarSettings.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/calendar/CalendarSettings.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows.calendar import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/calendar/RecentFragment.kt b/app/src/main/java/com/battlelancer/seriesguide/shows/calendar/RecentFragment.kt index caa7821218..0a6dfc7c65 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/calendar/RecentFragment.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/calendar/RecentFragment.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows.calendar import android.os.Bundle diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/calendar/UpcomingFragment.kt b/app/src/main/java/com/battlelancer/seriesguide/shows/calendar/UpcomingFragment.kt index 7da7810a0e..432bbe0fba 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/calendar/UpcomingFragment.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/calendar/UpcomingFragment.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows.calendar import android.os.Bundle diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/database/SgEpisode.java b/app/src/main/java/com/battlelancer/seriesguide/shows/database/SgEpisode.java index 4fe0421388..8d0637186b 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/database/SgEpisode.java +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/database/SgEpisode.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows.database; import androidx.annotation.NonNull; diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/database/SgEpisode2.kt b/app/src/main/java/com/battlelancer/seriesguide/shows/database/SgEpisode2.kt index 9c2f5a7e62..491ef1f9d9 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/database/SgEpisode2.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/database/SgEpisode2.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows.database import androidx.room.ColumnInfo diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/database/SgEpisode2Helper.kt b/app/src/main/java/com/battlelancer/seriesguide/shows/database/SgEpisode2Helper.kt index 992c472fc1..261c9cc6bb 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/database/SgEpisode2Helper.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/database/SgEpisode2Helper.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows.database import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/database/SgSeason.java b/app/src/main/java/com/battlelancer/seriesguide/shows/database/SgSeason.java index 8a1a30c05e..cd0a808841 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/database/SgSeason.java +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/database/SgSeason.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows.database; import androidx.room.ColumnInfo; diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/database/SgSeason2.kt b/app/src/main/java/com/battlelancer/seriesguide/shows/database/SgSeason2.kt index b2b7e59f55..ca0935ec85 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/database/SgSeason2.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/database/SgSeason2.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows.database import androidx.room.ColumnInfo diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/database/SgSeason2Helper.kt b/app/src/main/java/com/battlelancer/seriesguide/shows/database/SgSeason2Helper.kt index 26c4b38917..b773d6f271 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/database/SgSeason2Helper.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/database/SgSeason2Helper.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows.database import androidx.lifecycle.LiveData diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/database/SgShow.java b/app/src/main/java/com/battlelancer/seriesguide/shows/database/SgShow.java index 3a96e1efd6..63825df84c 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/database/SgShow.java +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/database/SgShow.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows.database; import androidx.annotation.NonNull; diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/database/SgShow2.kt b/app/src/main/java/com/battlelancer/seriesguide/shows/database/SgShow2.kt index 17108a2570..7ea966d1fd 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/database/SgShow2.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/database/SgShow2.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows.database import androidx.room.ColumnInfo diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/database/SgShow2Helper.kt b/app/src/main/java/com/battlelancer/seriesguide/shows/database/SgShow2Helper.kt index 5e75680248..aa6f2c94f2 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/database/SgShow2Helper.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/database/SgShow2Helper.kt @@ -1,3 +1,7 @@ +// Copyright 2021-2023 Uwe Trottmann +// Copyright 2021 Andre Ippisch +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows.database import androidx.lifecycle.LiveData diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/episodes/Episode.java b/app/src/main/java/com/battlelancer/seriesguide/shows/episodes/Episode.java index 6cc87f7001..99705dd813 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/episodes/Episode.java +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/episodes/Episode.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows.episodes; public class Episode { diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/episodes/EpisodeDetailsFragment.kt b/app/src/main/java/com/battlelancer/seriesguide/shows/episodes/EpisodeDetailsFragment.kt index 6fea480677..3ef931d8b3 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/episodes/EpisodeDetailsFragment.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/episodes/EpisodeDetailsFragment.kt @@ -1,3 +1,7 @@ +// Copyright 2011-2023 Uwe Trottmann +// Copyright 2013 Andrew Neal +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows.episodes import android.os.Bundle diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/episodes/EpisodeDetailsViewModel.kt b/app/src/main/java/com/battlelancer/seriesguide/shows/episodes/EpisodeDetailsViewModel.kt index 8cef9c1302..25cf351aa0 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/episodes/EpisodeDetailsViewModel.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/episodes/EpisodeDetailsViewModel.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows.episodes import android.app.Application diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/episodes/EpisodeFlags.java b/app/src/main/java/com/battlelancer/seriesguide/shows/episodes/EpisodeFlags.java index f60396f0ae..a398b5fb74 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/episodes/EpisodeFlags.java +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/episodes/EpisodeFlags.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows.episodes; /** diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/episodes/EpisodePagerAdapter.kt b/app/src/main/java/com/battlelancer/seriesguide/shows/episodes/EpisodePagerAdapter.kt index 6f05e51221..ab42e19370 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/episodes/EpisodePagerAdapter.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/episodes/EpisodePagerAdapter.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows.episodes import android.annotation.SuppressLint diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/episodes/EpisodeTools.java b/app/src/main/java/com/battlelancer/seriesguide/shows/episodes/EpisodeTools.java index ae1cc3ca3b..1e8a8f27cc 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/episodes/EpisodeTools.java +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/episodes/EpisodeTools.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows.episodes; import android.content.Context; diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/episodes/EpisodeWatchedUpToDialog.kt b/app/src/main/java/com/battlelancer/seriesguide/shows/episodes/EpisodeWatchedUpToDialog.kt index 374359e774..336a8821aa 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/episodes/EpisodeWatchedUpToDialog.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/episodes/EpisodeWatchedUpToDialog.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows.episodes import android.app.Dialog diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/episodes/EpisodesActivity.kt b/app/src/main/java/com/battlelancer/seriesguide/shows/episodes/EpisodesActivity.kt index a161463576..0f8d7b449f 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/episodes/EpisodesActivity.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/episodes/EpisodesActivity.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows.episodes import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/episodes/EpisodesActivityViewModel.kt b/app/src/main/java/com/battlelancer/seriesguide/shows/episodes/EpisodesActivityViewModel.kt index 9bc3fc67dc..7c37ada80c 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/episodes/EpisodesActivityViewModel.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/episodes/EpisodesActivityViewModel.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows.episodes import android.app.Application diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/episodes/EpisodesAdapter.kt b/app/src/main/java/com/battlelancer/seriesguide/shows/episodes/EpisodesAdapter.kt index b01aa4365c..fbc96b9dd7 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/episodes/EpisodesAdapter.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/episodes/EpisodesAdapter.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows.episodes import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/episodes/EpisodesFragment.kt b/app/src/main/java/com/battlelancer/seriesguide/shows/episodes/EpisodesFragment.kt index fe056a5261..e5c972272f 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/episodes/EpisodesFragment.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/episodes/EpisodesFragment.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows.episodes import android.content.SharedPreferences.OnSharedPreferenceChangeListener diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/episodes/EpisodesSettings.kt b/app/src/main/java/com/battlelancer/seriesguide/shows/episodes/EpisodesSettings.kt index c078868058..1bdc0ff0f8 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/episodes/EpisodesSettings.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/episodes/EpisodesSettings.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows.episodes import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/episodes/EpisodesViewModel.kt b/app/src/main/java/com/battlelancer/seriesguide/shows/episodes/EpisodesViewModel.kt index 21d75ff829..508446c1a0 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/episodes/EpisodesViewModel.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/episodes/EpisodesViewModel.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows.episodes import android.app.Application diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/episodes/WatchedBox.java b/app/src/main/java/com/battlelancer/seriesguide/shows/episodes/WatchedBox.java index 8aff5fbcea..c8d179c9cb 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/episodes/WatchedBox.java +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/episodes/WatchedBox.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows.episodes; import android.content.Context; diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/history/HistoryViewHolder.kt b/app/src/main/java/com/battlelancer/seriesguide/shows/history/HistoryViewHolder.kt index b92fcbaa99..a699ca91cf 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/history/HistoryViewHolder.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/history/HistoryViewHolder.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows.history import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/history/NowAdapter.kt b/app/src/main/java/com/battlelancer/seriesguide/shows/history/NowAdapter.kt index 878931d448..f418ca9ccd 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/history/NowAdapter.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/history/NowAdapter.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows.history import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/history/RecentlyWatchedLoader.kt b/app/src/main/java/com/battlelancer/seriesguide/shows/history/RecentlyWatchedLoader.kt index 8e4c9fce07..e6562c5f8d 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/history/RecentlyWatchedLoader.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/history/RecentlyWatchedLoader.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows.history import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/history/SgActivity.kt b/app/src/main/java/com/battlelancer/seriesguide/shows/history/SgActivity.kt index 1ccbae1d68..5693211288 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/history/SgActivity.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/history/SgActivity.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows.history import androidx.room.ColumnInfo diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/history/SgActivityHelper.kt b/app/src/main/java/com/battlelancer/seriesguide/shows/history/SgActivityHelper.kt index 0432772063..5c65d91c37 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/history/SgActivityHelper.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/history/SgActivityHelper.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows.history import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/history/ShowsNowFragment.kt b/app/src/main/java/com/battlelancer/seriesguide/shows/history/ShowsNowFragment.kt index 67fa5c105b..dc5521fb6e 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/history/ShowsNowFragment.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/history/ShowsNowFragment.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows.history import android.content.Intent diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/history/TraktFriendsEpisodeHistoryLoader.kt b/app/src/main/java/com/battlelancer/seriesguide/shows/history/TraktFriendsEpisodeHistoryLoader.kt index 6d38713b3a..8f1e2792cd 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/history/TraktFriendsEpisodeHistoryLoader.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/history/TraktFriendsEpisodeHistoryLoader.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows.history import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/history/TraktRecentEpisodeHistoryLoader.java b/app/src/main/java/com/battlelancer/seriesguide/shows/history/TraktRecentEpisodeHistoryLoader.java index ab244625be..eb28306bec 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/history/TraktRecentEpisodeHistoryLoader.java +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/history/TraktRecentEpisodeHistoryLoader.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows.history; import android.app.Activity; diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/overview/CustomReleaseTimeDialogFragment.kt b/app/src/main/java/com/battlelancer/seriesguide/shows/overview/CustomReleaseTimeDialogFragment.kt index f6a93a05d8..6ce945d158 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/overview/CustomReleaseTimeDialogFragment.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/overview/CustomReleaseTimeDialogFragment.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows.overview import android.app.Dialog diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/overview/CustomReleaseTimeDialogModel.kt b/app/src/main/java/com/battlelancer/seriesguide/shows/overview/CustomReleaseTimeDialogModel.kt index bc905fb9f7..6f1b3aa49a 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/overview/CustomReleaseTimeDialogModel.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/overview/CustomReleaseTimeDialogModel.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows.overview import android.app.Application diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/overview/FeedbackView.java b/app/src/main/java/com/battlelancer/seriesguide/shows/overview/FeedbackView.java index 2186a47012..f669f178d4 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/overview/FeedbackView.java +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/overview/FeedbackView.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows.overview; import android.content.Context; diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/overview/OverviewActivityImpl.kt b/app/src/main/java/com/battlelancer/seriesguide/shows/overview/OverviewActivityImpl.kt index 0bb9af8c0b..a05dba2d43 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/overview/OverviewActivityImpl.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/overview/OverviewActivityImpl.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows.overview import android.app.SearchManager diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/overview/OverviewFragment.kt b/app/src/main/java/com/battlelancer/seriesguide/shows/overview/OverviewFragment.kt index cf9a762220..387b562f07 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/overview/OverviewFragment.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/overview/OverviewFragment.kt @@ -1,3 +1,7 @@ +// Copyright 2011-2023 Uwe Trottmann +// Copyright 2013 Andrew Neal +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows.overview import android.os.Bundle diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/overview/OverviewViewModel.kt b/app/src/main/java/com/battlelancer/seriesguide/shows/overview/OverviewViewModel.kt index a0f1ec8db4..13c2a95da2 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/overview/OverviewViewModel.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/overview/OverviewViewModel.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows.overview import android.app.Application diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/overview/RemainingCountLiveData.kt b/app/src/main/java/com/battlelancer/seriesguide/shows/overview/RemainingCountLiveData.kt index 13ac72f1aa..38996eef2b 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/overview/RemainingCountLiveData.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/overview/RemainingCountLiveData.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows.overview import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/overview/SeasonTags.kt b/app/src/main/java/com/battlelancer/seriesguide/shows/overview/SeasonTags.kt index 5c636c0411..f95d11ee4f 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/overview/SeasonTags.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/overview/SeasonTags.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows.overview interface SeasonTags { diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/overview/SeasonTools.kt b/app/src/main/java/com/battlelancer/seriesguide/shows/overview/SeasonTools.kt index 87cadffdc5..aee59d24c0 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/overview/SeasonTools.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/overview/SeasonTools.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows.overview import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/overview/SeasonsAdapter.kt b/app/src/main/java/com/battlelancer/seriesguide/shows/overview/SeasonsAdapter.kt index b66e09a079..66a257908c 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/overview/SeasonsAdapter.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/overview/SeasonsAdapter.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows.overview import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/overview/SeasonsFragment.kt b/app/src/main/java/com/battlelancer/seriesguide/shows/overview/SeasonsFragment.kt index e35586e432..c76fd80426 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/overview/SeasonsFragment.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/overview/SeasonsFragment.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows.overview import android.content.SharedPreferences.OnSharedPreferenceChangeListener diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/overview/SeasonsSettings.kt b/app/src/main/java/com/battlelancer/seriesguide/shows/overview/SeasonsSettings.kt index c4c9597953..28d3f45fcb 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/overview/SeasonsSettings.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/overview/SeasonsSettings.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows.overview import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/overview/SeasonsViewModel.kt b/app/src/main/java/com/battlelancer/seriesguide/shows/overview/SeasonsViewModel.kt index 79f090bccd..4c820b6e41 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/overview/SeasonsViewModel.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/overview/SeasonsViewModel.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows.overview import android.app.Application diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/overview/ShowFragment.kt b/app/src/main/java/com/battlelancer/seriesguide/shows/overview/ShowFragment.kt index bdcb6f886e..c3d4b144c9 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/overview/ShowFragment.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/overview/ShowFragment.kt @@ -1,3 +1,7 @@ +// Copyright 2013-2023 Uwe Trottmann +// Copyright 2013 Andrew Neal +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows.overview import android.Manifest diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/overview/ShowViewModel.kt b/app/src/main/java/com/battlelancer/seriesguide/shows/overview/ShowViewModel.kt index abf26ddcd6..575d935952 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/overview/ShowViewModel.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/overview/ShowViewModel.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows.overview import android.app.Application diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/overview/UnwatchedUpdateWorker.kt b/app/src/main/java/com/battlelancer/seriesguide/shows/overview/UnwatchedUpdateWorker.kt index 046f5e71e1..7d33f245b3 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/overview/UnwatchedUpdateWorker.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/overview/UnwatchedUpdateWorker.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows.overview import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/search/BaseSearchFragment.kt b/app/src/main/java/com/battlelancer/seriesguide/shows/search/BaseSearchFragment.kt index 700053b870..32723cde3b 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/search/BaseSearchFragment.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/search/BaseSearchFragment.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows.search import android.os.Bundle diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/search/EpisodeSearchAdapter.kt b/app/src/main/java/com/battlelancer/seriesguide/shows/search/EpisodeSearchAdapter.kt index 716c89b0f3..cf0088be95 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/search/EpisodeSearchAdapter.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/search/EpisodeSearchAdapter.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows.search import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/search/EpisodeSearchFragment.kt b/app/src/main/java/com/battlelancer/seriesguide/shows/search/EpisodeSearchFragment.kt index b6eedd3e6a..c65c829ba7 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/search/EpisodeSearchFragment.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/search/EpisodeSearchFragment.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows.search import android.app.SearchManager diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/search/EpisodeSearchViewModel.kt b/app/src/main/java/com/battlelancer/seriesguide/shows/search/EpisodeSearchViewModel.kt index 47720ded9f..9cdec289db 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/search/EpisodeSearchViewModel.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/search/EpisodeSearchViewModel.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows.search import android.app.Application diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/search/SearchActivityImpl.kt b/app/src/main/java/com/battlelancer/seriesguide/shows/search/SearchActivityImpl.kt index 31bc0a0622..81cf3b140c 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/search/SearchActivityImpl.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/search/SearchActivityImpl.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows.search import android.app.SearchManager diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/search/SearchTriggerListener.kt b/app/src/main/java/com/battlelancer/seriesguide/shows/search/SearchTriggerListener.kt index c8e49c1232..f1e63a13d6 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/search/SearchTriggerListener.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/search/SearchTriggerListener.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows.search interface SearchTriggerListener { diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/search/ShowSearchAdapter.kt b/app/src/main/java/com/battlelancer/seriesguide/shows/search/ShowSearchAdapter.kt index 965b8e974b..d946240a4e 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/search/ShowSearchAdapter.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/search/ShowSearchAdapter.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows.search import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/search/ShowSearchFragment.kt b/app/src/main/java/com/battlelancer/seriesguide/shows/search/ShowSearchFragment.kt index 5283085d5f..8a6f2081fe 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/search/ShowSearchFragment.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/search/ShowSearchFragment.kt @@ -1,3 +1,6 @@ +// Copyright 2018, 2020-2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows.search import android.app.SearchManager diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/search/ShowSearchViewModel.kt b/app/src/main/java/com/battlelancer/seriesguide/shows/search/ShowSearchViewModel.kt index 66bc5bcc9f..2cb07f775f 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/search/ShowSearchViewModel.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/search/ShowSearchViewModel.kt @@ -1,3 +1,7 @@ +// Copyright 2021-2023 Uwe Trottmann +// Copyright 2018 Thouseef Hameed +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows.search import android.app.Application diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/search/TmdbIdExtractor.kt b/app/src/main/java/com/battlelancer/seriesguide/shows/search/TmdbIdExtractor.kt index 6d3afb04a8..7bb0fa04a6 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/search/TmdbIdExtractor.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/search/TmdbIdExtractor.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows.search import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/search/discover/AddFragment.kt b/app/src/main/java/com/battlelancer/seriesguide/shows/search/discover/AddFragment.kt index 2dbff03605..1df34af3f0 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/search/discover/AddFragment.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/search/discover/AddFragment.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows.search.discover import android.app.Activity diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/search/discover/AddIndicator.kt b/app/src/main/java/com/battlelancer/seriesguide/shows/search/discover/AddIndicator.kt index 6acafd3d1f..ffcd1ef188 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/search/discover/AddIndicator.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/search/discover/AddIndicator.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows.search.discover import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/search/discover/AddShowDialogFragment.kt b/app/src/main/java/com/battlelancer/seriesguide/shows/search/discover/AddShowDialogFragment.kt index c7b49e5576..656a8b53dd 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/search/discover/AddShowDialogFragment.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/search/discover/AddShowDialogFragment.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows.search.discover import android.app.Dialog diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/search/discover/AddShowDialogViewModel.kt b/app/src/main/java/com/battlelancer/seriesguide/shows/search/discover/AddShowDialogViewModel.kt index bc42eff90f..f860b81cf6 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/search/discover/AddShowDialogViewModel.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/search/discover/AddShowDialogViewModel.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows.search.discover import android.app.Application diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/search/discover/BaseAddShowsFragment.kt b/app/src/main/java/com/battlelancer/seriesguide/shows/search/discover/BaseAddShowsFragment.kt index 90e1fcb1fc..f701892e77 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/search/discover/BaseAddShowsFragment.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/search/discover/BaseAddShowsFragment.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows.search.discover import android.view.View diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/search/discover/SearchResult.java b/app/src/main/java/com/battlelancer/seriesguide/shows/search/discover/SearchResult.java index 64f31cb0db..211901a047 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/search/discover/SearchResult.java +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/search/discover/SearchResult.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows.search.discover; import android.os.Parcel; diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/search/discover/SearchResultDiffCallback.kt b/app/src/main/java/com/battlelancer/seriesguide/shows/search/discover/SearchResultDiffCallback.kt index 8d02bd6fde..eaaca86437 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/search/discover/SearchResultDiffCallback.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/search/discover/SearchResultDiffCallback.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows.search.discover import androidx.recyclerview.widget.DiffUtil diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/search/discover/SearchResultViewHolder.kt b/app/src/main/java/com/battlelancer/seriesguide/shows/search/discover/SearchResultViewHolder.kt index b50faf94fe..5605dcba06 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/search/discover/SearchResultViewHolder.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/search/discover/SearchResultViewHolder.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows.search.discover import android.view.LayoutInflater diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/search/discover/SearchTools.kt b/app/src/main/java/com/battlelancer/seriesguide/shows/search/discover/SearchTools.kt index 99ff01f5bb..c38110f3f5 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/search/discover/SearchTools.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/search/discover/SearchTools.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows.search.discover import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/search/discover/ShowsDiscoverAdapter.kt b/app/src/main/java/com/battlelancer/seriesguide/shows/search/discover/ShowsDiscoverAdapter.kt index d62abb4c7e..052e8f19e8 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/search/discover/ShowsDiscoverAdapter.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/search/discover/ShowsDiscoverAdapter.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows.search.discover import android.annotation.SuppressLint diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/search/discover/ShowsDiscoverFilterAdapter.kt b/app/src/main/java/com/battlelancer/seriesguide/shows/search/discover/ShowsDiscoverFilterAdapter.kt index a5561e83be..6bdf1e890c 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/search/discover/ShowsDiscoverFilterAdapter.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/search/discover/ShowsDiscoverFilterAdapter.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows.search.discover import android.view.LayoutInflater diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/search/discover/ShowsDiscoverFragment.kt b/app/src/main/java/com/battlelancer/seriesguide/shows/search/discover/ShowsDiscoverFragment.kt index c99b48389a..e05402cb6e 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/search/discover/ShowsDiscoverFragment.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/search/discover/ShowsDiscoverFragment.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows.search.discover import android.os.Bundle diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/search/discover/ShowsDiscoverLiveData.kt b/app/src/main/java/com/battlelancer/seriesguide/shows/search/discover/ShowsDiscoverLiveData.kt index 7ede7b1fab..ed4f2b878a 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/search/discover/ShowsDiscoverLiveData.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/search/discover/ShowsDiscoverLiveData.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows.search.discover import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/search/discover/ShowsDiscoverViewModel.kt b/app/src/main/java/com/battlelancer/seriesguide/shows/search/discover/ShowsDiscoverViewModel.kt index fa0d2d3c32..3d35900864 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/search/discover/ShowsDiscoverViewModel.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/search/discover/ShowsDiscoverViewModel.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows.search.discover import android.app.Application diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/search/discover/TraktAddFragment.kt b/app/src/main/java/com/battlelancer/seriesguide/shows/search/discover/TraktAddFragment.kt index d861bc1c1f..9e08b84dbe 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/search/discover/TraktAddFragment.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/search/discover/TraktAddFragment.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows.search.discover import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/search/discover/TraktAddLoader.java b/app/src/main/java/com/battlelancer/seriesguide/shows/search/discover/TraktAddLoader.java index fc2438d8f0..304e702c13 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/search/discover/TraktAddLoader.java +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/search/discover/TraktAddLoader.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows.search.discover; import android.content.Context; diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/search/discover/TraktShowsActivity.kt b/app/src/main/java/com/battlelancer/seriesguide/shows/search/discover/TraktShowsActivity.kt index 3e25007b28..bed15eb321 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/search/discover/TraktShowsActivity.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/search/discover/TraktShowsActivity.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows.search.discover import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/search/discover/TraktShowsLink.java b/app/src/main/java/com/battlelancer/seriesguide/shows/search/discover/TraktShowsLink.java index cde155e758..929dbb370a 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/search/discover/TraktShowsLink.java +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/search/discover/TraktShowsLink.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows.search.discover; import androidx.annotation.StringRes; diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/search/popular/ShowsPopularAdapter.kt b/app/src/main/java/com/battlelancer/seriesguide/shows/search/popular/ShowsPopularAdapter.kt index c3bfa33d1e..431a0fcc3d 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/search/popular/ShowsPopularAdapter.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/search/popular/ShowsPopularAdapter.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows.search.popular import android.annotation.SuppressLint diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/search/popular/ShowsPopularDataSource.kt b/app/src/main/java/com/battlelancer/seriesguide/shows/search/popular/ShowsPopularDataSource.kt index f717ef2dc9..aac8a74e71 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/search/popular/ShowsPopularDataSource.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/search/popular/ShowsPopularDataSource.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows.search.popular import android.content.Context @@ -79,16 +82,11 @@ class ShowsPopularDataSource( } override fun getRefreshKey(state: PagingState): Int? { - // Try to find the page key of the closest page to anchorPosition, from - // either the prevKey or the nextKey, but you need to handle nullability - // here: - // * prevKey == null -> anchorPage is the first page. - // * nextKey == null -> anchorPage is the last page. - // * both prevKey and nextKey null -> anchorPage is the initial page, so - // just return null. + // Always start loading at the previous page. + // As refresh is currently only triggered by swipe-to-refresh will always be the first + // page (prevKey == null). return state.anchorPosition?.let { anchorPosition -> - val anchorPage = state.closestPageToPosition(anchorPosition) - anchorPage?.prevKey?.plus(1) ?: anchorPage?.nextKey?.minus(1) + state.closestPageToPosition(anchorPosition)?.prevKey } } } diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/search/popular/ShowsPopularFragment.kt b/app/src/main/java/com/battlelancer/seriesguide/shows/search/popular/ShowsPopularFragment.kt index 1b4186ef1f..f688856917 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/search/popular/ShowsPopularFragment.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/search/popular/ShowsPopularFragment.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows.search.popular import android.os.Bundle diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/search/popular/ShowsPopularViewModel.kt b/app/src/main/java/com/battlelancer/seriesguide/shows/search/popular/ShowsPopularViewModel.kt index e4d3dc62a9..1c658144b3 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/search/popular/ShowsPopularViewModel.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/search/popular/ShowsPopularViewModel.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows.search.popular import android.app.Application diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/search/similar/SimilarShowsActivity.kt b/app/src/main/java/com/battlelancer/seriesguide/shows/search/similar/SimilarShowsActivity.kt index fae4697740..5ca52fb936 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/search/similar/SimilarShowsActivity.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/search/similar/SimilarShowsActivity.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows.search.similar import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/search/similar/SimilarShowsAdapter.kt b/app/src/main/java/com/battlelancer/seriesguide/shows/search/similar/SimilarShowsAdapter.kt index c902b3e7cf..ef4fb073b9 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/search/similar/SimilarShowsAdapter.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/search/similar/SimilarShowsAdapter.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows.search.similar import android.view.ViewGroup diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/search/similar/SimilarShowsFragment.kt b/app/src/main/java/com/battlelancer/seriesguide/shows/search/similar/SimilarShowsFragment.kt index 7f1e2fef5c..9d2cb1ef4e 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/search/similar/SimilarShowsFragment.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/search/similar/SimilarShowsFragment.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows.search.similar import android.os.Bundle diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/search/similar/SimilarShowsViewModel.kt b/app/src/main/java/com/battlelancer/seriesguide/shows/search/similar/SimilarShowsViewModel.kt index 8d220529e7..a3663acf94 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/search/similar/SimilarShowsViewModel.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/search/similar/SimilarShowsViewModel.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows.search.similar import android.app.Application diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/search/similar/SimilarShowsViewModelFactory.kt b/app/src/main/java/com/battlelancer/seriesguide/shows/search/similar/SimilarShowsViewModelFactory.kt index 20691d8b72..db2b9bbe71 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/search/similar/SimilarShowsViewModelFactory.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/search/similar/SimilarShowsViewModelFactory.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows.search.similar import android.app.Application diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/tools/AddShowTask.java b/app/src/main/java/com/battlelancer/seriesguide/shows/tools/AddShowTask.java index c2ab32130b..d176f6b51e 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/tools/AddShowTask.java +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/tools/AddShowTask.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows.tools; import android.annotation.SuppressLint; diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/tools/AddUpdateShowTools.kt b/app/src/main/java/com/battlelancer/seriesguide/shows/tools/AddUpdateShowTools.kt index a70f90d8e3..c0ddbeff11 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/tools/AddUpdateShowTools.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/tools/AddUpdateShowTools.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows.tools import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/tools/GetShowTools.kt b/app/src/main/java/com/battlelancer/seriesguide/shows/tools/GetShowTools.kt index b0c1db4c88..14a004fb9f 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/tools/GetShowTools.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/tools/GetShowTools.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows.tools import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/tools/LatestEpisodeUpdateTask.java b/app/src/main/java/com/battlelancer/seriesguide/shows/tools/LatestEpisodeUpdateTask.java index c88797ece8..e14980aeff 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/tools/LatestEpisodeUpdateTask.java +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/tools/LatestEpisodeUpdateTask.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows.tools; import android.annotation.SuppressLint; diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/tools/NextEpisodeUpdater.kt b/app/src/main/java/com/battlelancer/seriesguide/shows/tools/NextEpisodeUpdater.kt index 7869807c9c..70f39a54d3 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/tools/NextEpisodeUpdater.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/tools/NextEpisodeUpdater.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows.tools import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/tools/ShowStatus.kt b/app/src/main/java/com/battlelancer/seriesguide/shows/tools/ShowStatus.kt index 9f5268230e..f50d570a2a 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/tools/ShowStatus.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/tools/ShowStatus.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows.tools import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/tools/ShowSync.kt b/app/src/main/java/com/battlelancer/seriesguide/shows/tools/ShowSync.kt index b95e286719..fb4ef27a7a 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/tools/ShowSync.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/tools/ShowSync.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows.tools import android.annotation.SuppressLint diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/tools/ShowTools2.kt b/app/src/main/java/com/battlelancer/seriesguide/shows/tools/ShowTools2.kt index b14dbd6ac3..c67a35e063 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/tools/ShowTools2.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/tools/ShowTools2.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows.tools import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/stats/StatsActivity.kt b/app/src/main/java/com/battlelancer/seriesguide/stats/StatsActivity.kt index 93f1a1dc3c..1266c81a0e 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/stats/StatsActivity.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/stats/StatsActivity.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.stats import android.os.Bundle diff --git a/app/src/main/java/com/battlelancer/seriesguide/stats/StatsFragment.kt b/app/src/main/java/com/battlelancer/seriesguide/stats/StatsFragment.kt index 984b94925f..54750bfcef 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/stats/StatsFragment.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/stats/StatsFragment.kt @@ -1,3 +1,7 @@ +// Copyright 2019-2022 Uwe Trottmann +// Copyright 2021 Andre Ippisch +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.stats import android.os.Bundle diff --git a/app/src/main/java/com/battlelancer/seriesguide/stats/StatsViewModel.kt b/app/src/main/java/com/battlelancer/seriesguide/stats/StatsViewModel.kt index 2c636f6913..e5646e3c3f 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/stats/StatsViewModel.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/stats/StatsViewModel.kt @@ -1,3 +1,7 @@ +// Copyright 2021-2023 Uwe Trottmann +// Copyright 2021 Andre Ippisch +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.stats import android.app.Application diff --git a/app/src/main/java/com/battlelancer/seriesguide/streaming/DiscoverFilterFragment.kt b/app/src/main/java/com/battlelancer/seriesguide/streaming/DiscoverFilterFragment.kt index 293e4cb993..3f5840de6f 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/streaming/DiscoverFilterFragment.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/streaming/DiscoverFilterFragment.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.streaming import android.app.Dialog diff --git a/app/src/main/java/com/battlelancer/seriesguide/streaming/DiscoverFilterViewModel.kt b/app/src/main/java/com/battlelancer/seriesguide/streaming/DiscoverFilterViewModel.kt index c8fabecb8f..876d3e4e83 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/streaming/DiscoverFilterViewModel.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/streaming/DiscoverFilterViewModel.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.streaming import android.app.Application diff --git a/app/src/main/java/com/battlelancer/seriesguide/streaming/SgWatchProvider.kt b/app/src/main/java/com/battlelancer/seriesguide/streaming/SgWatchProvider.kt index e27e7800e4..84915f3ce9 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/streaming/SgWatchProvider.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/streaming/SgWatchProvider.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.streaming import androidx.room.Entity diff --git a/app/src/main/java/com/battlelancer/seriesguide/streaming/SgWatchProviderHelper.kt b/app/src/main/java/com/battlelancer/seriesguide/streaming/SgWatchProviderHelper.kt index 69691856d5..1ea015026e 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/streaming/SgWatchProviderHelper.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/streaming/SgWatchProviderHelper.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.streaming import androidx.lifecycle.LiveData diff --git a/app/src/main/java/com/battlelancer/seriesguide/streaming/StreamingSearch.kt b/app/src/main/java/com/battlelancer/seriesguide/streaming/StreamingSearch.kt index 2ecb076652..4c81d725db 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/streaming/StreamingSearch.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/streaming/StreamingSearch.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.streaming import android.annotation.SuppressLint diff --git a/app/src/main/java/com/battlelancer/seriesguide/streaming/StreamingSearchConfigureDialog.kt b/app/src/main/java/com/battlelancer/seriesguide/streaming/StreamingSearchConfigureDialog.kt index c498cc9da9..837dfb2445 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/streaming/StreamingSearchConfigureDialog.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/streaming/StreamingSearchConfigureDialog.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.streaming import android.app.Dialog diff --git a/app/src/main/java/com/battlelancer/seriesguide/streaming/StreamingSearchInfoDialog.kt b/app/src/main/java/com/battlelancer/seriesguide/streaming/StreamingSearchInfoDialog.kt index 416d8a184f..ddcae72be6 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/streaming/StreamingSearchInfoDialog.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/streaming/StreamingSearchInfoDialog.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.streaming import android.app.Dialog diff --git a/app/src/main/java/com/battlelancer/seriesguide/sync/AccountUtils.java b/app/src/main/java/com/battlelancer/seriesguide/sync/AccountUtils.java index bbefd8d1c3..6d7d69b6a6 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/sync/AccountUtils.java +++ b/app/src/main/java/com/battlelancer/seriesguide/sync/AccountUtils.java @@ -1,3 +1,5 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 package com.battlelancer.seriesguide.sync; diff --git a/app/src/main/java/com/battlelancer/seriesguide/sync/HexagonEpisodeSync.java b/app/src/main/java/com/battlelancer/seriesguide/sync/HexagonEpisodeSync.java index 9020725b46..4e6b1925f3 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/sync/HexagonEpisodeSync.java +++ b/app/src/main/java/com/battlelancer/seriesguide/sync/HexagonEpisodeSync.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.sync; import android.content.Context; diff --git a/app/src/main/java/com/battlelancer/seriesguide/sync/HexagonEpisodeSyncK.kt b/app/src/main/java/com/battlelancer/seriesguide/sync/HexagonEpisodeSyncK.kt index 28422245ab..fca5e28acc 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/sync/HexagonEpisodeSyncK.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/sync/HexagonEpisodeSyncK.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.sync data class DownloadFlagsResult( diff --git a/app/src/main/java/com/battlelancer/seriesguide/sync/HexagonListsSync.java b/app/src/main/java/com/battlelancer/seriesguide/sync/HexagonListsSync.java index 70a95b017b..6362d3e25f 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/sync/HexagonListsSync.java +++ b/app/src/main/java/com/battlelancer/seriesguide/sync/HexagonListsSync.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.sync; import android.content.ContentProviderOperation; diff --git a/app/src/main/java/com/battlelancer/seriesguide/sync/HexagonMovieSync.kt b/app/src/main/java/com/battlelancer/seriesguide/sync/HexagonMovieSync.kt index d5fd24b57b..7663e159f4 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/sync/HexagonMovieSync.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/sync/HexagonMovieSync.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.sync import android.content.ContentProviderOperation diff --git a/app/src/main/java/com/battlelancer/seriesguide/sync/HexagonShowSync.kt b/app/src/main/java/com/battlelancer/seriesguide/sync/HexagonShowSync.kt index 8cf6ad6c89..705daffaae 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/sync/HexagonShowSync.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/sync/HexagonShowSync.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.sync import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/sync/HexagonSync.java b/app/src/main/java/com/battlelancer/seriesguide/sync/HexagonSync.java index 01dce6f133..cf7a89404e 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/sync/HexagonSync.java +++ b/app/src/main/java/com/battlelancer/seriesguide/sync/HexagonSync.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.sync; import android.content.Context; diff --git a/app/src/main/java/com/battlelancer/seriesguide/sync/SgAccountAuthenticator.java b/app/src/main/java/com/battlelancer/seriesguide/sync/SgAccountAuthenticator.java index 1a173e3d43..a967658495 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/sync/SgAccountAuthenticator.java +++ b/app/src/main/java/com/battlelancer/seriesguide/sync/SgAccountAuthenticator.java @@ -1,3 +1,5 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 package com.battlelancer.seriesguide.sync; diff --git a/app/src/main/java/com/battlelancer/seriesguide/sync/SgAuthenticationService.java b/app/src/main/java/com/battlelancer/seriesguide/sync/SgAuthenticationService.java index eff1431f9e..9b44db4f2b 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/sync/SgAuthenticationService.java +++ b/app/src/main/java/com/battlelancer/seriesguide/sync/SgAuthenticationService.java @@ -1,3 +1,5 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 package com.battlelancer.seriesguide.sync; diff --git a/app/src/main/java/com/battlelancer/seriesguide/sync/SgSyncAdapter.kt b/app/src/main/java/com/battlelancer/seriesguide/sync/SgSyncAdapter.kt index 065813d74f..10731ef1dd 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/sync/SgSyncAdapter.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/sync/SgSyncAdapter.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.sync import android.accounts.Account diff --git a/app/src/main/java/com/battlelancer/seriesguide/sync/SgSyncService.kt b/app/src/main/java/com/battlelancer/seriesguide/sync/SgSyncService.kt index 1a63bde317..332264c3b6 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/sync/SgSyncService.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/sync/SgSyncService.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.sync import android.app.Service diff --git a/app/src/main/java/com/battlelancer/seriesguide/sync/SyncOptions.java b/app/src/main/java/com/battlelancer/seriesguide/sync/SyncOptions.java index 41083e2b60..c723b93fac 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/sync/SyncOptions.java +++ b/app/src/main/java/com/battlelancer/seriesguide/sync/SyncOptions.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.sync; import android.os.Bundle; diff --git a/app/src/main/java/com/battlelancer/seriesguide/sync/SyncProgress.java b/app/src/main/java/com/battlelancer/seriesguide/sync/SyncProgress.java index 8f6bc317ff..bfd963eb88 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/sync/SyncProgress.java +++ b/app/src/main/java/com/battlelancer/seriesguide/sync/SyncProgress.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.sync; import android.content.Context; diff --git a/app/src/main/java/com/battlelancer/seriesguide/sync/TmdbSync.kt b/app/src/main/java/com/battlelancer/seriesguide/sync/TmdbSync.kt index 4453b8cfbc..fdb268812a 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/sync/TmdbSync.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/sync/TmdbSync.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.sync import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/sync/TraktEpisodeSync.kt b/app/src/main/java/com/battlelancer/seriesguide/sync/TraktEpisodeSync.kt index 219a0e901c..ed30ea5309 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/sync/TraktEpisodeSync.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/sync/TraktEpisodeSync.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.sync import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/sync/TraktMovieSync.kt b/app/src/main/java/com/battlelancer/seriesguide/sync/TraktMovieSync.kt index 198f371269..1da83f1d36 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/sync/TraktMovieSync.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/sync/TraktMovieSync.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.sync import android.content.ContentProviderOperation diff --git a/app/src/main/java/com/battlelancer/seriesguide/sync/TraktRatingsSync.kt b/app/src/main/java/com/battlelancer/seriesguide/sync/TraktRatingsSync.kt index 73b7dffa99..5b56519383 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/sync/TraktRatingsSync.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/sync/TraktRatingsSync.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.sync import android.content.ContentProviderOperation diff --git a/app/src/main/java/com/battlelancer/seriesguide/sync/TraktSync.kt b/app/src/main/java/com/battlelancer/seriesguide/sync/TraktSync.kt index b5a5cc1cb1..099c5fc91c 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/sync/TraktSync.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/sync/TraktSync.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.sync import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/tmdbapi/SgTmdb.kt b/app/src/main/java/com/battlelancer/seriesguide/tmdbapi/SgTmdb.kt index c7c930fddd..a107f0abc4 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/tmdbapi/SgTmdb.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/tmdbapi/SgTmdb.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.tmdbapi import com.uwetrottmann.tmdb2.Tmdb diff --git a/app/src/main/java/com/battlelancer/seriesguide/tmdbapi/SgTmdbInterceptor.kt b/app/src/main/java/com/battlelancer/seriesguide/tmdbapi/SgTmdbInterceptor.kt index 1db42c3200..666d134380 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/tmdbapi/SgTmdbInterceptor.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/tmdbapi/SgTmdbInterceptor.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.tmdbapi import com.uwetrottmann.tmdb2.Tmdb diff --git a/app/src/main/java/com/battlelancer/seriesguide/tmdbapi/TmdbTools.java b/app/src/main/java/com/battlelancer/seriesguide/tmdbapi/TmdbTools.java index 5cb9d30084..b6c79a72e2 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/tmdbapi/TmdbTools.java +++ b/app/src/main/java/com/battlelancer/seriesguide/tmdbapi/TmdbTools.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.tmdbapi; import android.content.Context; diff --git a/app/src/main/java/com/battlelancer/seriesguide/tmdbapi/TmdbTools2.kt b/app/src/main/java/com/battlelancer/seriesguide/tmdbapi/TmdbTools2.kt index cf9dd31fb6..ef298f158e 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/tmdbapi/TmdbTools2.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/tmdbapi/TmdbTools2.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.tmdbapi import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/tmdbapi/WatchProvidersService.kt b/app/src/main/java/com/battlelancer/seriesguide/tmdbapi/WatchProvidersService.kt index 1cd382abc4..4084b46945 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/tmdbapi/WatchProvidersService.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/tmdbapi/WatchProvidersService.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.tmdbapi import com.uwetrottmann.tmdb2.entities.WatchProviders diff --git a/app/src/main/java/com/battlelancer/seriesguide/traktapi/BaseOAuthActivity.kt b/app/src/main/java/com/battlelancer/seriesguide/traktapi/BaseOAuthActivity.kt index 3b19d58cf1..6394007ca9 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/traktapi/BaseOAuthActivity.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/traktapi/BaseOAuthActivity.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.traktapi import android.content.Intent diff --git a/app/src/main/java/com/battlelancer/seriesguide/traktapi/CheckInDialogFragment.kt b/app/src/main/java/com/battlelancer/seriesguide/traktapi/CheckInDialogFragment.kt index 3e7b23603b..be5b974a13 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/traktapi/CheckInDialogFragment.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/traktapi/CheckInDialogFragment.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.traktapi import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/traktapi/ConnectTraktActivity.kt b/app/src/main/java/com/battlelancer/seriesguide/traktapi/ConnectTraktActivity.kt index 6f41f8ceff..8f9cc84b8c 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/traktapi/ConnectTraktActivity.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/traktapi/ConnectTraktActivity.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.traktapi import android.os.Bundle diff --git a/app/src/main/java/com/battlelancer/seriesguide/traktapi/ConnectTraktCredentialsFragment.kt b/app/src/main/java/com/battlelancer/seriesguide/traktapi/ConnectTraktCredentialsFragment.kt index 425b0b8bfd..4b25003ef2 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/traktapi/ConnectTraktCredentialsFragment.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/traktapi/ConnectTraktCredentialsFragment.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.traktapi import android.content.Intent diff --git a/app/src/main/java/com/battlelancer/seriesguide/traktapi/GenericCheckInDialogFragment.kt b/app/src/main/java/com/battlelancer/seriesguide/traktapi/GenericCheckInDialogFragment.kt index ba2631a57f..aec7b73cfa 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/traktapi/GenericCheckInDialogFragment.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/traktapi/GenericCheckInDialogFragment.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.traktapi import android.app.Dialog diff --git a/app/src/main/java/com/battlelancer/seriesguide/traktapi/MovieCheckInDialogFragment.kt b/app/src/main/java/com/battlelancer/seriesguide/traktapi/MovieCheckInDialogFragment.kt index 735cb78a48..5d0eaafeaa 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/traktapi/MovieCheckInDialogFragment.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/traktapi/MovieCheckInDialogFragment.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.traktapi import android.os.AsyncTask diff --git a/app/src/main/java/com/battlelancer/seriesguide/traktapi/QuickCheckInActivity.kt b/app/src/main/java/com/battlelancer/seriesguide/traktapi/QuickCheckInActivity.kt index f0b52de59a..9d087230d9 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/traktapi/QuickCheckInActivity.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/traktapi/QuickCheckInActivity.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.traktapi import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/traktapi/RateDialogFragment.java b/app/src/main/java/com/battlelancer/seriesguide/traktapi/RateDialogFragment.java index 70dadbd5ae..e0c8bc51f2 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/traktapi/RateDialogFragment.java +++ b/app/src/main/java/com/battlelancer/seriesguide/traktapi/RateDialogFragment.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.traktapi; import android.app.Dialog; diff --git a/app/src/main/java/com/battlelancer/seriesguide/traktapi/SgTrakt.java b/app/src/main/java/com/battlelancer/seriesguide/traktapi/SgTrakt.java index 5b12a7935b..6b73a4e3cd 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/traktapi/SgTrakt.java +++ b/app/src/main/java/com/battlelancer/seriesguide/traktapi/SgTrakt.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.traktapi; import android.content.Context; diff --git a/app/src/main/java/com/battlelancer/seriesguide/traktapi/SgTraktInterceptor.java b/app/src/main/java/com/battlelancer/seriesguide/traktapi/SgTraktInterceptor.java index 154a3307e3..e4cb76f837 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/traktapi/SgTraktInterceptor.java +++ b/app/src/main/java/com/battlelancer/seriesguide/traktapi/SgTraktInterceptor.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.traktapi; import androidx.annotation.NonNull; diff --git a/app/src/main/java/com/battlelancer/seriesguide/traktapi/TraktAction.java b/app/src/main/java/com/battlelancer/seriesguide/traktapi/TraktAction.java index bbfe5d01ff..825bc59b0a 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/traktapi/TraktAction.java +++ b/app/src/main/java/com/battlelancer/seriesguide/traktapi/TraktAction.java @@ -1,3 +1,5 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 package com.battlelancer.seriesguide.traktapi; diff --git a/app/src/main/java/com/battlelancer/seriesguide/traktapi/TraktAuthActivity.kt b/app/src/main/java/com/battlelancer/seriesguide/traktapi/TraktAuthActivity.kt index 64e0eee392..c7335e458d 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/traktapi/TraktAuthActivity.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/traktapi/TraktAuthActivity.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.traktapi import android.os.Bundle diff --git a/app/src/main/java/com/battlelancer/seriesguide/traktapi/TraktAuthActivityModel.kt b/app/src/main/java/com/battlelancer/seriesguide/traktapi/TraktAuthActivityModel.kt index fef143d790..84f0d1455b 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/traktapi/TraktAuthActivityModel.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/traktapi/TraktAuthActivityModel.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.traktapi import android.app.Application diff --git a/app/src/main/java/com/battlelancer/seriesguide/traktapi/TraktCancelCheckinDialogFragment.java b/app/src/main/java/com/battlelancer/seriesguide/traktapi/TraktCancelCheckinDialogFragment.java index 494318e4a5..34d7ab52ca 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/traktapi/TraktCancelCheckinDialogFragment.java +++ b/app/src/main/java/com/battlelancer/seriesguide/traktapi/TraktCancelCheckinDialogFragment.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.traktapi; import android.annotation.SuppressLint; diff --git a/app/src/main/java/com/battlelancer/seriesguide/traktapi/TraktCredentials.kt b/app/src/main/java/com/battlelancer/seriesguide/traktapi/TraktCredentials.kt index 8a7dbfa9f8..feab57dfee 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/traktapi/TraktCredentials.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/traktapi/TraktCredentials.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.traktapi import android.accounts.AccountManager diff --git a/app/src/main/java/com/battlelancer/seriesguide/traktapi/TraktOAuthError.kt b/app/src/main/java/com/battlelancer/seriesguide/traktapi/TraktOAuthError.kt index e6e74c4fe2..a6bb5ba846 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/traktapi/TraktOAuthError.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/traktapi/TraktOAuthError.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.traktapi /** diff --git a/app/src/main/java/com/battlelancer/seriesguide/traktapi/TraktOAuthSettings.java b/app/src/main/java/com/battlelancer/seriesguide/traktapi/TraktOAuthSettings.java index 8dbfeb72a1..52f7ffd917 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/traktapi/TraktOAuthSettings.java +++ b/app/src/main/java/com/battlelancer/seriesguide/traktapi/TraktOAuthSettings.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.traktapi; import android.content.Context; diff --git a/app/src/main/java/com/battlelancer/seriesguide/traktapi/TraktRatingsFetcher.kt b/app/src/main/java/com/battlelancer/seriesguide/traktapi/TraktRatingsFetcher.kt index 1f6a4813da..b0e9e5079a 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/traktapi/TraktRatingsFetcher.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/traktapi/TraktRatingsFetcher.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.traktapi import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/traktapi/TraktResult.java b/app/src/main/java/com/battlelancer/seriesguide/traktapi/TraktResult.java index 254869b113..e7da4003a2 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/traktapi/TraktResult.java +++ b/app/src/main/java/com/battlelancer/seriesguide/traktapi/TraktResult.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.traktapi; import com.battlelancer.seriesguide.enums.NetworkResult; diff --git a/app/src/main/java/com/battlelancer/seriesguide/traktapi/TraktSettings.java b/app/src/main/java/com/battlelancer/seriesguide/traktapi/TraktSettings.java index 6a3e5a3a9e..ef56a48e5b 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/traktapi/TraktSettings.java +++ b/app/src/main/java/com/battlelancer/seriesguide/traktapi/TraktSettings.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.traktapi; import android.content.Context; diff --git a/app/src/main/java/com/battlelancer/seriesguide/traktapi/TraktTask.java b/app/src/main/java/com/battlelancer/seriesguide/traktapi/TraktTask.java index 45246ab676..d8bcd14c2f 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/traktapi/TraktTask.java +++ b/app/src/main/java/com/battlelancer/seriesguide/traktapi/TraktTask.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.traktapi; import android.annotation.SuppressLint; diff --git a/app/src/main/java/com/battlelancer/seriesguide/traktapi/TraktTools.java b/app/src/main/java/com/battlelancer/seriesguide/traktapi/TraktTools.java index 6082162bb9..9cf02507aa 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/traktapi/TraktTools.java +++ b/app/src/main/java/com/battlelancer/seriesguide/traktapi/TraktTools.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.traktapi; import android.annotation.SuppressLint; diff --git a/app/src/main/java/com/battlelancer/seriesguide/traktapi/TraktTools2.kt b/app/src/main/java/com/battlelancer/seriesguide/traktapi/TraktTools2.kt index 1dda840d6e..f2bfd1b731 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/traktapi/TraktTools2.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/traktapi/TraktTools2.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.traktapi import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/ui/AutoGridLayoutManager.java b/app/src/main/java/com/battlelancer/seriesguide/ui/AutoGridLayoutManager.java index c0877a88e0..902c70987d 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/ui/AutoGridLayoutManager.java +++ b/app/src/main/java/com/battlelancer/seriesguide/ui/AutoGridLayoutManager.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.ui; import android.content.Context; diff --git a/app/src/main/java/com/battlelancer/seriesguide/ui/BaseActivity.kt b/app/src/main/java/com/battlelancer/seriesguide/ui/BaseActivity.kt index af348fb3b1..f48054bf0e 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/ui/BaseActivity.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/ui/BaseActivity.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.ui import com.battlelancer.seriesguide.dataliberation.BackupSettings diff --git a/app/src/main/java/com/battlelancer/seriesguide/ui/BaseMessageActivity.kt b/app/src/main/java/com/battlelancer/seriesguide/ui/BaseMessageActivity.kt index aaf4bed19a..02b46eaddc 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/ui/BaseMessageActivity.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/ui/BaseMessageActivity.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.ui import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/ui/BasePreferencesFragment.kt b/app/src/main/java/com/battlelancer/seriesguide/ui/BasePreferencesFragment.kt index d2af24b4a6..5a531c1925 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/ui/BasePreferencesFragment.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/ui/BasePreferencesFragment.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.ui import android.content.SharedPreferences diff --git a/app/src/main/java/com/battlelancer/seriesguide/ui/BaseSimilarActivity.kt b/app/src/main/java/com/battlelancer/seriesguide/ui/BaseSimilarActivity.kt index f8b01c4152..82d77092f8 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/ui/BaseSimilarActivity.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/ui/BaseSimilarActivity.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.ui import android.content.Intent diff --git a/app/src/main/java/com/battlelancer/seriesguide/ui/BaseThemeActivity.kt b/app/src/main/java/com/battlelancer/seriesguide/ui/BaseThemeActivity.kt index 4c050feab3..de0b15ee72 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/ui/BaseThemeActivity.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/ui/BaseThemeActivity.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.ui import android.os.Bundle diff --git a/app/src/main/java/com/battlelancer/seriesguide/ui/BaseTopActivity.kt b/app/src/main/java/com/battlelancer/seriesguide/ui/BaseTopActivity.kt index fd6f2e1658..6d5e737a5b 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/ui/BaseTopActivity.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/ui/BaseTopActivity.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.ui import android.content.ContentResolver diff --git a/app/src/main/java/com/battlelancer/seriesguide/ui/FullscreenImageActivity.kt b/app/src/main/java/com/battlelancer/seriesguide/ui/FullscreenImageActivity.kt index 01c48bac09..d727bbb2b6 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/ui/FullscreenImageActivity.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/ui/FullscreenImageActivity.kt @@ -1,3 +1,7 @@ +// Copyright 2013 Andrew Neal +// Copyright 2013-2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.ui import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/ui/ListsActivity.kt b/app/src/main/java/com/battlelancer/seriesguide/ui/ListsActivity.kt index 7069b9f262..0827e8b67d 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/ui/ListsActivity.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/ui/ListsActivity.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.ui import com.battlelancer.seriesguide.lists.ListsActivityImpl diff --git a/app/src/main/java/com/battlelancer/seriesguide/ui/MoviesActivity.kt b/app/src/main/java/com/battlelancer/seriesguide/ui/MoviesActivity.kt index 5c14986209..94944c0972 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/ui/MoviesActivity.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/ui/MoviesActivity.kt @@ -1,3 +1,6 @@ +// Copyright 2013-2022 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.ui import com.battlelancer.seriesguide.movies.MoviesActivityImpl diff --git a/app/src/main/java/com/battlelancer/seriesguide/ui/OverviewActivity.kt b/app/src/main/java/com/battlelancer/seriesguide/ui/OverviewActivity.kt index cfadcfb611..a485c06967 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/ui/OverviewActivity.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/ui/OverviewActivity.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.ui import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/ui/SearchActivity.kt b/app/src/main/java/com/battlelancer/seriesguide/ui/SearchActivity.kt index b67b1206ec..61b31b4061 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/ui/SearchActivity.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/ui/SearchActivity.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.ui import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/ui/SeriesGuidePreferences.kt b/app/src/main/java/com/battlelancer/seriesguide/ui/SeriesGuidePreferences.kt index f5df551e7b..dd7efa8c0b 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/ui/SeriesGuidePreferences.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/ui/SeriesGuidePreferences.kt @@ -1,3 +1,8 @@ +// Copyright 2011-2023 Uwe Trottmann +// Copyright 2011 Jake Wharton +// Copyright 2011 dqdb +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.ui import androidx.annotation.StyleRes diff --git a/app/src/main/java/com/battlelancer/seriesguide/ui/ShowsActivity.kt b/app/src/main/java/com/battlelancer/seriesguide/ui/ShowsActivity.kt index 3bf91c3fd6..a10d1530d7 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/ui/ShowsActivity.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/ui/ShowsActivity.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.ui import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/ui/SinglePaneActivity.kt b/app/src/main/java/com/battlelancer/seriesguide/ui/SinglePaneActivity.kt index 47f0b5d211..dc72fff0dc 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/ui/SinglePaneActivity.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/ui/SinglePaneActivity.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.ui import android.app.Activity diff --git a/app/src/main/java/com/battlelancer/seriesguide/ui/TabStripAdapter.kt b/app/src/main/java/com/battlelancer/seriesguide/ui/TabStripAdapter.kt index 6aebcd39b0..695a75da4b 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/ui/TabStripAdapter.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/ui/TabStripAdapter.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.ui import android.annotation.SuppressLint diff --git a/app/src/main/java/com/battlelancer/seriesguide/ui/dialogs/L10nDialogFragment.kt b/app/src/main/java/com/battlelancer/seriesguide/ui/dialogs/L10nDialogFragment.kt index f20d7e460d..3481ab94ab 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/ui/dialogs/L10nDialogFragment.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/ui/dialogs/L10nDialogFragment.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.ui.dialogs import android.app.Dialog diff --git a/app/src/main/java/com/battlelancer/seriesguide/ui/dialogs/SingleChoiceDialogFragment.kt b/app/src/main/java/com/battlelancer/seriesguide/ui/dialogs/SingleChoiceDialogFragment.kt index ce0d873e60..f591d2aba7 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/ui/dialogs/SingleChoiceDialogFragment.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/ui/dialogs/SingleChoiceDialogFragment.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.ui.dialogs import android.app.Dialog diff --git a/app/src/main/java/com/battlelancer/seriesguide/ui/widgets/EmptyView.java b/app/src/main/java/com/battlelancer/seriesguide/ui/widgets/EmptyView.java index 5998607a06..8386f067a5 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/ui/widgets/EmptyView.java +++ b/app/src/main/java/com/battlelancer/seriesguide/ui/widgets/EmptyView.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.ui.widgets; import android.content.Context; diff --git a/app/src/main/java/com/battlelancer/seriesguide/ui/widgets/FastScrollerDecoration.java b/app/src/main/java/com/battlelancer/seriesguide/ui/widgets/FastScrollerDecoration.java index 9b174076e6..9806fc9317 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/ui/widgets/FastScrollerDecoration.java +++ b/app/src/main/java/com/battlelancer/seriesguide/ui/widgets/FastScrollerDecoration.java @@ -1,18 +1,5 @@ -/* - * Copyright 2018 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +// Copyright 2018 The Android Open Source Project +// SPDX-License-Identifier: Apache-2.0 package com.battlelancer.seriesguide.ui.widgets; diff --git a/app/src/main/java/com/battlelancer/seriesguide/ui/widgets/FeatureStatusView.java b/app/src/main/java/com/battlelancer/seriesguide/ui/widgets/FeatureStatusView.java index 31c82fdb01..9f1f5fbc97 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/ui/widgets/FeatureStatusView.java +++ b/app/src/main/java/com/battlelancer/seriesguide/ui/widgets/FeatureStatusView.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.ui.widgets; import android.content.Context; diff --git a/app/src/main/java/com/battlelancer/seriesguide/ui/widgets/FilterBox.kt b/app/src/main/java/com/battlelancer/seriesguide/ui/widgets/FilterBox.kt index b9fb7b5944..7b5a7fde02 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/ui/widgets/FilterBox.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/ui/widgets/FilterBox.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.ui.widgets import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/ui/widgets/SgFastScroller.kt b/app/src/main/java/com/battlelancer/seriesguide/ui/widgets/SgFastScroller.kt index 7974b96fc0..8696d40444 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/ui/widgets/SgFastScroller.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/ui/widgets/SgFastScroller.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.ui.widgets import android.annotation.SuppressLint diff --git a/app/src/main/java/com/battlelancer/seriesguide/ui/widgets/SyncStatusView.java b/app/src/main/java/com/battlelancer/seriesguide/ui/widgets/SyncStatusView.java index a0365cf87a..8170794cec 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/ui/widgets/SyncStatusView.java +++ b/app/src/main/java/com/battlelancer/seriesguide/ui/widgets/SyncStatusView.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.ui.widgets; import android.content.Context; diff --git a/app/src/main/java/com/battlelancer/seriesguide/util/ActivityTools.kt b/app/src/main/java/com/battlelancer/seriesguide/util/ActivityTools.kt index 0538e24c86..9ee77b1d35 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/util/ActivityTools.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/util/ActivityTools.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.util import android.content.ActivityNotFoundException diff --git a/app/src/main/java/com/battlelancer/seriesguide/util/AllApisAuthenticator.java b/app/src/main/java/com/battlelancer/seriesguide/util/AllApisAuthenticator.java index 11b05d9d5b..2f74119db8 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/util/AllApisAuthenticator.java +++ b/app/src/main/java/com/battlelancer/seriesguide/util/AllApisAuthenticator.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.util; import android.content.Context; diff --git a/app/src/main/java/com/battlelancer/seriesguide/util/AppUpgrade.kt b/app/src/main/java/com/battlelancer/seriesguide/util/AppUpgrade.kt index c0c52572da..f3fee02f5b 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/util/AppUpgrade.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/util/AppUpgrade.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.util import android.app.AlarmManager diff --git a/app/src/main/java/com/battlelancer/seriesguide/util/ClipboardTools.kt b/app/src/main/java/com/battlelancer/seriesguide/util/ClipboardTools.kt index f091bdbfa4..5ae9216892 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/util/ClipboardTools.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/util/ClipboardTools.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + @file:JvmName("ClipboardTools") package com.battlelancer.seriesguide.util diff --git a/app/src/main/java/com/battlelancer/seriesguide/util/DBUtils.java b/app/src/main/java/com/battlelancer/seriesguide/util/DBUtils.java index bd8ea5041b..4056d0c838 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/util/DBUtils.java +++ b/app/src/main/java/com/battlelancer/seriesguide/util/DBUtils.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.util; import android.content.ContentProviderOperation; diff --git a/app/src/main/java/com/battlelancer/seriesguide/util/DialogTools.kt b/app/src/main/java/com/battlelancer/seriesguide/util/DialogTools.kt index ea5c6db776..4460d270a7 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/util/DialogTools.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/util/DialogTools.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + @file:JvmName("DialogTools") package com.battlelancer.seriesguide.util diff --git a/app/src/main/java/com/battlelancer/seriesguide/util/Errors.kt b/app/src/main/java/com/battlelancer/seriesguide/util/Errors.kt index ec1420d1ce..4c3b99bec8 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/util/Errors.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/util/Errors.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.util import android.annotation.SuppressLint diff --git a/app/src/main/java/com/battlelancer/seriesguide/util/HighlightTools.kt b/app/src/main/java/com/battlelancer/seriesguide/util/HighlightTools.kt index 2ff62890bc..1ede1cc0ef 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/util/HighlightTools.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/util/HighlightTools.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.util import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/util/ImageTools.kt b/app/src/main/java/com/battlelancer/seriesguide/util/ImageTools.kt index 395e3dec59..72780f0ff6 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/util/ImageTools.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/util/ImageTools.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.util import android.content.Context @@ -5,6 +8,7 @@ import android.util.Base64 import android.widget.ImageView import com.battlelancer.seriesguide.BuildConfig import com.battlelancer.seriesguide.R +import com.battlelancer.seriesguide.settings.AppSettings import com.battlelancer.seriesguide.settings.TmdbSettings import com.squareup.picasso.NetworkPolicy import com.squareup.picasso.Picasso @@ -76,6 +80,10 @@ object ImageTools { return if (imagePath.isNullOrEmpty()) { null } else { + if (AppSettings.isDemoModeEnabled(context)) { + return pickDemoPosterUrl(imagePath) + } + // If the path contains the legacy TVDB cache prefix, use the www subdomain as it has // a redirect to the new thumbnail URL set up (artworks subdomain + file name postfix). // E.g. https://www.thetvdb.com/banners/_cache/posters/example.jpg redirects to @@ -85,6 +93,7 @@ object ImageTools { imagePath.contains(TVDB_LEGACY_CACHE_PREFIX, false) -> { "${TVDB_LEGACY_MIRROR_BANNERS}$imagePath" } + imagePath.startsWith("/") -> { // TMDB images have no path at all, but always start with /. // Use small size based on density, or original size (as large as possible). @@ -94,6 +103,7 @@ object ImageTools { "${TmdbSettings.getPosterBaseUrl(context)}$imagePath" } } + else -> { "${TVDB_MIRROR_BANNERS}$imagePath" } @@ -102,6 +112,24 @@ object ImageTools { } } + private val demoPosterUrls = listOf( + "https://seriesgui.de/demo/anime.jpg", + "https://seriesgui.de/demo/crime.jpg", + "https://seriesgui.de/demo/fantasy-2.jpg", + "https://seriesgui.de/demo/fantasy.jpg", + "https://seriesgui.de/demo/medical.jpg", + "https://seriesgui.de/demo/scifi-3.jpg", + "https://seriesgui.de/demo/scifi.jpg", + "https://seriesgui.de/demo/sitcom.jpg", + ) + + private val demoStillUrl = "https://seriesgui.de/demo/episode-anime.jpg" + + private fun pickDemoPosterUrl(imagePath: String): String { + // Map an image path always to the same image + return demoPosterUrls[imagePath.hashCode().mod(demoPosterUrls.size)] + } + @JvmStatic fun tmdbOrTvdbStillUrl( imagePath: String?, @@ -111,6 +139,10 @@ object ImageTools { return if (imagePath.isNullOrEmpty()) { null } else { + if (AppSettings.isDemoModeEnabled(context)) { + return demoStillUrl + } + // If the path contains the legacy TVDB cache prefix, use the www subdomain as it has // a redirect to the new thumbnail URL set up (artworks subdomain + file name postfix). // E.g. https://www.thetvdb.com/banners/_cache/posters/example.jpg redirects to @@ -120,6 +152,7 @@ object ImageTools { imagePath.contains(TVDB_LEGACY_CACHE_PREFIX, false) -> { "${TVDB_LEGACY_MIRROR_BANNERS}$imagePath" } + imagePath.startsWith("/") -> { // TMDB images have no path at all, but always start with /. // Use small size based on density, or original size (as large as possible). @@ -129,6 +162,7 @@ object ImageTools { TmdbSettings.getStillUrl(context, imagePath) } } + else -> { "${TVDB_MIRROR_BANNERS}$imagePath" } diff --git a/app/src/main/java/com/battlelancer/seriesguide/util/LanguageTools.kt b/app/src/main/java/com/battlelancer/seriesguide/util/LanguageTools.kt index 7e59785df5..bd111237d5 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/util/LanguageTools.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/util/LanguageTools.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.util import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/util/Metacritic.kt b/app/src/main/java/com/battlelancer/seriesguide/util/Metacritic.kt index 54693a8efc..5e9b1e874f 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/util/Metacritic.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/util/Metacritic.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.util import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/util/PackageTools.kt b/app/src/main/java/com/battlelancer/seriesguide/util/PackageTools.kt index 172a60442f..32557bbdf4 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/util/PackageTools.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/util/PackageTools.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.util import android.annotation.SuppressLint diff --git a/app/src/main/java/com/battlelancer/seriesguide/util/PendingIntentCompat.kt b/app/src/main/java/com/battlelancer/seriesguide/util/PendingIntentCompat.kt index 816d1358b8..79b8376dd7 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/util/PendingIntentCompat.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/util/PendingIntentCompat.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.util import android.app.PendingIntent diff --git a/app/src/main/java/com/battlelancer/seriesguide/util/PicassoTransformations.kt b/app/src/main/java/com/battlelancer/seriesguide/util/PicassoTransformations.kt index 5723693285..85377e5ff5 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/util/PicassoTransformations.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/util/PicassoTransformations.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.util import android.graphics.Bitmap diff --git a/app/src/main/java/com/battlelancer/seriesguide/util/RequestError.kt b/app/src/main/java/com/battlelancer/seriesguide/util/RequestError.kt index 53fcbf84fc..7a9b18bd95 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/util/RequestError.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/util/RequestError.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.util import com.google.api.client.http.HttpResponseException diff --git a/app/src/main/java/com/battlelancer/seriesguide/util/SearchHistory.java b/app/src/main/java/com/battlelancer/seriesguide/util/SearchHistory.java index d20dcc178f..dcc9c28b14 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/util/SearchHistory.java +++ b/app/src/main/java/com/battlelancer/seriesguide/util/SearchHistory.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.util; import android.content.Context; diff --git a/app/src/main/java/com/battlelancer/seriesguide/util/SelectionBuilder.java b/app/src/main/java/com/battlelancer/seriesguide/util/SelectionBuilder.java index d2df1ddc9c..d24312a2ca 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/util/SelectionBuilder.java +++ b/app/src/main/java/com/battlelancer/seriesguide/util/SelectionBuilder.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.util; import static android.database.sqlite.SQLiteDatabase.CONFLICT_NONE; diff --git a/app/src/main/java/com/battlelancer/seriesguide/util/ServiceUtils.kt b/app/src/main/java/com/battlelancer/seriesguide/util/ServiceUtils.kt index c76ec50a10..6c79698f03 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/util/ServiceUtils.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/util/ServiceUtils.kt @@ -1,3 +1,7 @@ +// Copyright 2013-2016, 2018, 2019, 2021, 2023 Uwe Trottmann +// Copyright 2013 Andrew Neal +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.util import android.annotation.SuppressLint diff --git a/app/src/main/java/com/battlelancer/seriesguide/util/SgPicassoRequestHandler.java b/app/src/main/java/com/battlelancer/seriesguide/util/SgPicassoRequestHandler.java index 1f33be1f02..9dc317110b 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/util/SgPicassoRequestHandler.java +++ b/app/src/main/java/com/battlelancer/seriesguide/util/SgPicassoRequestHandler.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.util; import static com.squareup.picasso.Picasso.LoadedFrom.DISK; diff --git a/app/src/main/java/com/battlelancer/seriesguide/util/ShareUtils.java b/app/src/main/java/com/battlelancer/seriesguide/util/ShareUtils.java index 2342358e08..47a5d504a1 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/util/ShareUtils.java +++ b/app/src/main/java/com/battlelancer/seriesguide/util/ShareUtils.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.util; import android.app.Activity; diff --git a/app/src/main/java/com/battlelancer/seriesguide/util/ShortcutCreator.kt b/app/src/main/java/com/battlelancer/seriesguide/util/ShortcutCreator.kt index 711c05c82f..b576e04315 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/util/ShortcutCreator.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/util/ShortcutCreator.kt @@ -1,3 +1,7 @@ +// Copyright 2013-2023 Uwe Trottmann +// Copyright 2015 Andrew Neal +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.util import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/util/SupportTheDev.kt b/app/src/main/java/com/battlelancer/seriesguide/util/SupportTheDev.kt index 1b9f4c3297..54fddb40b4 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/util/SupportTheDev.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/util/SupportTheDev.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.util import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/util/SystemUiHider.kt b/app/src/main/java/com/battlelancer/seriesguide/util/SystemUiHider.kt index 70498b701a..3e984590b5 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/util/SystemUiHider.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/util/SystemUiHider.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.util import android.view.View diff --git a/app/src/main/java/com/battlelancer/seriesguide/util/TabClickEvent.java b/app/src/main/java/com/battlelancer/seriesguide/util/TabClickEvent.java index b90122b11a..d4ea70a339 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/util/TabClickEvent.java +++ b/app/src/main/java/com/battlelancer/seriesguide/util/TabClickEvent.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.util; public class TabClickEvent { diff --git a/app/src/main/java/com/battlelancer/seriesguide/util/TaskManager.java b/app/src/main/java/com/battlelancer/seriesguide/util/TaskManager.java index 3914895e85..c2d1a5dc62 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/util/TaskManager.java +++ b/app/src/main/java/com/battlelancer/seriesguide/util/TaskManager.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.util; import android.content.Context; diff --git a/app/src/main/java/com/battlelancer/seriesguide/util/TextTools.kt b/app/src/main/java/com/battlelancer/seriesguide/util/TextTools.kt index f70fc8aa69..c7e8e4ab10 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/util/TextTools.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/util/TextTools.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.util import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/util/ThemeUtils.kt b/app/src/main/java/com/battlelancer/seriesguide/util/ThemeUtils.kt index 4678c10b8e..16e7cf9807 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/util/ThemeUtils.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/util/ThemeUtils.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.util import android.app.Activity diff --git a/app/src/main/java/com/battlelancer/seriesguide/util/TimeTools.kt b/app/src/main/java/com/battlelancer/seriesguide/util/TimeTools.kt index 936ac5c5f4..5e5b2aef37 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/util/TimeTools.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/util/TimeTools.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.util import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/util/Utils.java b/app/src/main/java/com/battlelancer/seriesguide/util/Utils.java index fd653ee020..e9bbcaf18e 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/util/Utils.java +++ b/app/src/main/java/com/battlelancer/seriesguide/util/Utils.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.util; import android.annotation.SuppressLint; diff --git a/app/src/main/java/com/battlelancer/seriesguide/util/ViewTools.kt b/app/src/main/java/com/battlelancer/seriesguide/util/ViewTools.kt index 759d4e1f96..18087702ca 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/util/ViewTools.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/util/ViewTools.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.util import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/util/WebTools.kt b/app/src/main/java/com/battlelancer/seriesguide/util/WebTools.kt index 003dc5fc59..46c0b141a5 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/util/WebTools.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/util/WebTools.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.util import android.content.Context diff --git a/app/src/main/java/com/battlelancer/seriesguide/util/tasks/AddListTask.java b/app/src/main/java/com/battlelancer/seriesguide/util/tasks/AddListTask.java index 9f717cd88e..bdd36bca9f 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/util/tasks/AddListTask.java +++ b/app/src/main/java/com/battlelancer/seriesguide/util/tasks/AddListTask.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.util.tasks; import android.content.ContentResolver; diff --git a/app/src/main/java/com/battlelancer/seriesguide/util/tasks/AddShowToWatchlistTask.java b/app/src/main/java/com/battlelancer/seriesguide/util/tasks/AddShowToWatchlistTask.java index c57ec64061..767ef04247 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/util/tasks/AddShowToWatchlistTask.java +++ b/app/src/main/java/com/battlelancer/seriesguide/util/tasks/AddShowToWatchlistTask.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.util.tasks; import android.content.Context; diff --git a/app/src/main/java/com/battlelancer/seriesguide/util/tasks/BaseActionTask.java b/app/src/main/java/com/battlelancer/seriesguide/util/tasks/BaseActionTask.java index 31fae0c738..f849fd1c58 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/util/tasks/BaseActionTask.java +++ b/app/src/main/java/com/battlelancer/seriesguide/util/tasks/BaseActionTask.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.util.tasks; import android.annotation.SuppressLint; diff --git a/app/src/main/java/com/battlelancer/seriesguide/util/tasks/BaseRateItemTask.java b/app/src/main/java/com/battlelancer/seriesguide/util/tasks/BaseRateItemTask.java index 34c992aa98..4d28db88e5 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/util/tasks/BaseRateItemTask.java +++ b/app/src/main/java/com/battlelancer/seriesguide/util/tasks/BaseRateItemTask.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.util.tasks; import android.content.Context; diff --git a/app/src/main/java/com/battlelancer/seriesguide/util/tasks/BaseShowActionTask.java b/app/src/main/java/com/battlelancer/seriesguide/util/tasks/BaseShowActionTask.java index f9bf89e6ad..c1275c4f3a 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/util/tasks/BaseShowActionTask.java +++ b/app/src/main/java/com/battlelancer/seriesguide/util/tasks/BaseShowActionTask.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.util.tasks; import android.content.Context; diff --git a/app/src/main/java/com/battlelancer/seriesguide/util/tasks/ChangeListItemListsTask.java b/app/src/main/java/com/battlelancer/seriesguide/util/tasks/ChangeListItemListsTask.java index a81c37db81..3a020788d6 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/util/tasks/ChangeListItemListsTask.java +++ b/app/src/main/java/com/battlelancer/seriesguide/util/tasks/ChangeListItemListsTask.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.util.tasks; import android.content.ContentProviderOperation; diff --git a/app/src/main/java/com/battlelancer/seriesguide/util/tasks/RateEpisodeTask.java b/app/src/main/java/com/battlelancer/seriesguide/util/tasks/RateEpisodeTask.java index 8f5d02c166..ee2baaf6c7 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/util/tasks/RateEpisodeTask.java +++ b/app/src/main/java/com/battlelancer/seriesguide/util/tasks/RateEpisodeTask.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.util.tasks; import android.content.Context; diff --git a/app/src/main/java/com/battlelancer/seriesguide/util/tasks/RateMovieTask.java b/app/src/main/java/com/battlelancer/seriesguide/util/tasks/RateMovieTask.java index f493c13764..fbf9ab1232 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/util/tasks/RateMovieTask.java +++ b/app/src/main/java/com/battlelancer/seriesguide/util/tasks/RateMovieTask.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.util.tasks; import android.content.ContentValues; diff --git a/app/src/main/java/com/battlelancer/seriesguide/util/tasks/RateShowTask.java b/app/src/main/java/com/battlelancer/seriesguide/util/tasks/RateShowTask.java index b786e2e49f..42fe0a6906 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/util/tasks/RateShowTask.java +++ b/app/src/main/java/com/battlelancer/seriesguide/util/tasks/RateShowTask.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.util.tasks; import android.content.Context; diff --git a/app/src/main/java/com/battlelancer/seriesguide/util/tasks/RemoveListItemTask.java b/app/src/main/java/com/battlelancer/seriesguide/util/tasks/RemoveListItemTask.java index 672ce38d4f..be4540df00 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/util/tasks/RemoveListItemTask.java +++ b/app/src/main/java/com/battlelancer/seriesguide/util/tasks/RemoveListItemTask.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.util.tasks; import android.content.Context; diff --git a/app/src/main/java/com/battlelancer/seriesguide/util/tasks/RemoveListTask.java b/app/src/main/java/com/battlelancer/seriesguide/util/tasks/RemoveListTask.java index 05fd27d207..7467186dfd 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/util/tasks/RemoveListTask.java +++ b/app/src/main/java/com/battlelancer/seriesguide/util/tasks/RemoveListTask.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.util.tasks; import android.content.Context; diff --git a/app/src/main/java/com/battlelancer/seriesguide/util/tasks/RemoveShowFromWatchlistTask.java b/app/src/main/java/com/battlelancer/seriesguide/util/tasks/RemoveShowFromWatchlistTask.java index d29d1b0a92..d5e97f3f6d 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/util/tasks/RemoveShowFromWatchlistTask.java +++ b/app/src/main/java/com/battlelancer/seriesguide/util/tasks/RemoveShowFromWatchlistTask.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.util.tasks; import android.content.Context; diff --git a/app/src/main/java/com/battlelancer/seriesguide/util/tasks/RenameListTask.java b/app/src/main/java/com/battlelancer/seriesguide/util/tasks/RenameListTask.java index 99225cf7bd..79b350f919 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/util/tasks/RenameListTask.java +++ b/app/src/main/java/com/battlelancer/seriesguide/util/tasks/RenameListTask.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.util.tasks; import android.content.ContentResolver; diff --git a/app/src/main/java/com/battlelancer/seriesguide/util/tasks/ReorderListsTask.java b/app/src/main/java/com/battlelancer/seriesguide/util/tasks/ReorderListsTask.java index 81f30313be..4a569a8757 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/util/tasks/ReorderListsTask.java +++ b/app/src/main/java/com/battlelancer/seriesguide/util/tasks/ReorderListsTask.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.util.tasks; import android.content.ContentProviderOperation; diff --git a/app/src/main/res/anim/checkin_dialog_exit.xml b/app/src/main/res/anim/checkin_dialog_exit.xml index f6be039df7..bf6e9b8b9c 100644 --- a/app/src/main/res/anim/checkin_dialog_exit.xml +++ b/app/src/main/res/anim/checkin_dialog_exit.xml @@ -1,23 +1,4 @@ - - - diff --git a/app/src/main/res/layout/preference_widget_material_switch.xml b/app/src/main/res/layout/preference_widget_material_switch.xml index 9bdf5d251c..e785808558 100644 --- a/app/src/main/res/layout/preference_widget_material_switch.xml +++ b/app/src/main/res/layout/preference_widget_material_switch.xml @@ -1,19 +1,4 @@ - diff --git a/app/src/pure/java/com/battlelancer/seriesguide/billing/amazon/AmazonBillingActivity.kt b/app/src/pure/java/com/battlelancer/seriesguide/billing/amazon/AmazonBillingActivity.kt index f4bb3d7634..2f678413fb 100644 --- a/app/src/pure/java/com/battlelancer/seriesguide/billing/amazon/AmazonBillingActivity.kt +++ b/app/src/pure/java/com/battlelancer/seriesguide/billing/amazon/AmazonBillingActivity.kt @@ -1,3 +1,6 @@ +// Copyright 2014 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.billing.amazon import com.battlelancer.seriesguide.ui.BaseActivity diff --git a/app/src/pure/java/com/battlelancer/seriesguide/billing/amazon/AmazonIapManager.kt b/app/src/pure/java/com/battlelancer/seriesguide/billing/amazon/AmazonIapManager.kt index 8cf1e4edf2..ac5ead0df0 100644 --- a/app/src/pure/java/com/battlelancer/seriesguide/billing/amazon/AmazonIapManager.kt +++ b/app/src/pure/java/com/battlelancer/seriesguide/billing/amazon/AmazonIapManager.kt @@ -1,3 +1,6 @@ +// Copyright 2014 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.billing.amazon import android.app.Activity diff --git a/app/src/test/java/com/battlelancer/seriesguide/EmptyTestApplication.kt b/app/src/test/java/com/battlelancer/seriesguide/EmptyTestApplication.kt index fd4edf321e..ea39687e09 100644 --- a/app/src/test/java/com/battlelancer/seriesguide/EmptyTestApplication.kt +++ b/app/src/test/java/com/battlelancer/seriesguide/EmptyTestApplication.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide import android.app.Application diff --git a/app/src/test/java/com/battlelancer/seriesguide/backend/HexagonAuthErrorTest.kt b/app/src/test/java/com/battlelancer/seriesguide/backend/HexagonAuthErrorTest.kt index 12776a0335..a7d6810af8 100644 --- a/app/src/test/java/com/battlelancer/seriesguide/backend/HexagonAuthErrorTest.kt +++ b/app/src/test/java/com/battlelancer/seriesguide/backend/HexagonAuthErrorTest.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.backend import com.google.android.gms.common.api.ApiException diff --git a/app/src/test/java/com/battlelancer/seriesguide/dataliberation/JsonExportTaskTest.kt b/app/src/test/java/com/battlelancer/seriesguide/dataliberation/JsonExportTaskTest.kt index 0cab272f9e..3fbdb7813e 100644 --- a/app/src/test/java/com/battlelancer/seriesguide/dataliberation/JsonExportTaskTest.kt +++ b/app/src/test/java/com/battlelancer/seriesguide/dataliberation/JsonExportTaskTest.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.dataliberation import android.content.Context diff --git a/app/src/test/java/com/battlelancer/seriesguide/dataliberation/JsonImportTaskTest.kt b/app/src/test/java/com/battlelancer/seriesguide/dataliberation/JsonImportTaskTest.kt index aed43cfed7..a0ca262f7e 100644 --- a/app/src/test/java/com/battlelancer/seriesguide/dataliberation/JsonImportTaskTest.kt +++ b/app/src/test/java/com/battlelancer/seriesguide/dataliberation/JsonImportTaskTest.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.dataliberation import android.content.Context diff --git a/app/src/test/java/com/battlelancer/seriesguide/jobs/FlatbufferTest.java b/app/src/test/java/com/battlelancer/seriesguide/jobs/FlatbufferTest.java index e3f3c335d9..2bf25e82c1 100644 --- a/app/src/test/java/com/battlelancer/seriesguide/jobs/FlatbufferTest.java +++ b/app/src/test/java/com/battlelancer/seriesguide/jobs/FlatbufferTest.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.jobs; import static com.google.common.truth.Truth.assertThat; diff --git a/app/src/test/java/com/battlelancer/seriesguide/movies/tools/MovieToolsTest.kt b/app/src/test/java/com/battlelancer/seriesguide/movies/tools/MovieToolsTest.kt index ff5d7b35b8..3715ad7376 100644 --- a/app/src/test/java/com/battlelancer/seriesguide/movies/tools/MovieToolsTest.kt +++ b/app/src/test/java/com/battlelancer/seriesguide/movies/tools/MovieToolsTest.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.movies.tools import com.google.common.truth.Truth.assertThat diff --git a/app/src/test/java/com/battlelancer/seriesguide/notifications/NotificationServiceTest.kt b/app/src/test/java/com/battlelancer/seriesguide/notifications/NotificationServiceTest.kt index 199b70b513..ceb5510720 100644 --- a/app/src/test/java/com/battlelancer/seriesguide/notifications/NotificationServiceTest.kt +++ b/app/src/test/java/com/battlelancer/seriesguide/notifications/NotificationServiceTest.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.notifications import android.content.Context diff --git a/app/src/test/java/com/battlelancer/seriesguide/shows/tools/ShowSyncTest.java b/app/src/test/java/com/battlelancer/seriesguide/shows/tools/ShowSyncTest.java index 317b25dfb0..ec672e2c76 100644 --- a/app/src/test/java/com/battlelancer/seriesguide/shows/tools/ShowSyncTest.java +++ b/app/src/test/java/com/battlelancer/seriesguide/shows/tools/ShowSyncTest.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.shows.tools; import static com.google.common.truth.Truth.assertThat; diff --git a/app/src/test/java/com/battlelancer/seriesguide/streaming/DiscoverFilterTest.kt b/app/src/test/java/com/battlelancer/seriesguide/streaming/DiscoverFilterTest.kt index 97dc13b264..d6e768b84f 100644 --- a/app/src/test/java/com/battlelancer/seriesguide/streaming/DiscoverFilterTest.kt +++ b/app/src/test/java/com/battlelancer/seriesguide/streaming/DiscoverFilterTest.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.streaming import com.battlelancer.seriesguide.streaming.SgWatchProvider.Type diff --git a/app/src/test/java/com/battlelancer/seriesguide/util/EpisodeToolsTest.java b/app/src/test/java/com/battlelancer/seriesguide/util/EpisodeToolsTest.java index 8cfa616417..add94c9416 100644 --- a/app/src/test/java/com/battlelancer/seriesguide/util/EpisodeToolsTest.java +++ b/app/src/test/java/com/battlelancer/seriesguide/util/EpisodeToolsTest.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.util; import static com.google.common.truth.Truth.assertThat; diff --git a/app/src/test/java/com/battlelancer/seriesguide/util/ErrorsTest.java b/app/src/test/java/com/battlelancer/seriesguide/util/ErrorsTest.java index 3d66cffb76..06d75ff143 100644 --- a/app/src/test/java/com/battlelancer/seriesguide/util/ErrorsTest.java +++ b/app/src/test/java/com/battlelancer/seriesguide/util/ErrorsTest.java @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.util; import static com.google.common.truth.Truth.assertThat; diff --git a/app/src/test/java/com/battlelancer/seriesguide/util/ImageToolsTest.kt b/app/src/test/java/com/battlelancer/seriesguide/util/ImageToolsTest.kt index c25efa7699..a8e2ac81de 100644 --- a/app/src/test/java/com/battlelancer/seriesguide/util/ImageToolsTest.kt +++ b/app/src/test/java/com/battlelancer/seriesguide/util/ImageToolsTest.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.util import android.content.Context diff --git a/app/src/test/java/com/battlelancer/seriesguide/util/TextToolsTest.kt b/app/src/test/java/com/battlelancer/seriesguide/util/TextToolsTest.kt index 383050a711..63d267892d 100644 --- a/app/src/test/java/com/battlelancer/seriesguide/util/TextToolsTest.kt +++ b/app/src/test/java/com/battlelancer/seriesguide/util/TextToolsTest.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.battlelancer.seriesguide.util import android.content.Context diff --git a/billing/src/main/java/com/uwetrottmann/seriesguide/billing/AugmentedProductDetails.kt b/billing/src/main/java/com/uwetrottmann/seriesguide/billing/AugmentedProductDetails.kt index b1fd049b86..2f3b8db6fc 100644 --- a/billing/src/main/java/com/uwetrottmann/seriesguide/billing/AugmentedProductDetails.kt +++ b/billing/src/main/java/com/uwetrottmann/seriesguide/billing/AugmentedProductDetails.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.uwetrottmann.seriesguide.billing import com.android.billingclient.api.ProductDetails diff --git a/billing/src/main/java/com/uwetrottmann/seriesguide/billing/BillingRepository.kt b/billing/src/main/java/com/uwetrottmann/seriesguide/billing/BillingRepository.kt index 262b381b81..82e944f850 100644 --- a/billing/src/main/java/com/uwetrottmann/seriesguide/billing/BillingRepository.kt +++ b/billing/src/main/java/com/uwetrottmann/seriesguide/billing/BillingRepository.kt @@ -1,3 +1,6 @@ +// Copyright 2019, 2020, 2021, 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.uwetrottmann.seriesguide.billing import android.app.Activity diff --git a/billing/src/main/java/com/uwetrottmann/seriesguide/billing/BillingViewModel.kt b/billing/src/main/java/com/uwetrottmann/seriesguide/billing/BillingViewModel.kt index fd0d4df0e6..33806860e4 100644 --- a/billing/src/main/java/com/uwetrottmann/seriesguide/billing/BillingViewModel.kt +++ b/billing/src/main/java/com/uwetrottmann/seriesguide/billing/BillingViewModel.kt @@ -1,3 +1,6 @@ +// Copyright 2019, 2020, 2021, 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.uwetrottmann.seriesguide.billing import android.app.Activity diff --git a/billing/src/main/java/com/uwetrottmann/seriesguide/billing/SafeAugmentedProductDetails.kt b/billing/src/main/java/com/uwetrottmann/seriesguide/billing/SafeAugmentedProductDetails.kt index 183f5c888a..91fd1627bd 100644 --- a/billing/src/main/java/com/uwetrottmann/seriesguide/billing/SafeAugmentedProductDetails.kt +++ b/billing/src/main/java/com/uwetrottmann/seriesguide/billing/SafeAugmentedProductDetails.kt @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.uwetrottmann.seriesguide.billing import com.android.billingclient.api.ProductDetails diff --git a/billing/src/main/java/com/uwetrottmann/seriesguide/billing/Security.kt b/billing/src/main/java/com/uwetrottmann/seriesguide/billing/Security.kt index e1b586fbd5..ee7bf97e50 100644 --- a/billing/src/main/java/com/uwetrottmann/seriesguide/billing/Security.kt +++ b/billing/src/main/java/com/uwetrottmann/seriesguide/billing/Security.kt @@ -1,3 +1,6 @@ +// Copyright 2019 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.uwetrottmann.seriesguide.billing import android.text.TextUtils diff --git a/billing/src/main/java/com/uwetrottmann/seriesguide/billing/localdb/CachedPurchase.kt b/billing/src/main/java/com/uwetrottmann/seriesguide/billing/localdb/CachedPurchase.kt index b59eaaf60f..3092d4cdfa 100644 --- a/billing/src/main/java/com/uwetrottmann/seriesguide/billing/localdb/CachedPurchase.kt +++ b/billing/src/main/java/com/uwetrottmann/seriesguide/billing/localdb/CachedPurchase.kt @@ -1,18 +1,6 @@ -/** - * Copyright (C) 2018 Google Inc. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +// Copyright (C) 2018 Google Inc. All Rights Reserved. +// Copyright 2019, 2021, 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 package com.uwetrottmann.seriesguide.billing.localdb import androidx.room.Entity diff --git a/billing/src/main/java/com/uwetrottmann/seriesguide/billing/localdb/Entitlements.kt b/billing/src/main/java/com/uwetrottmann/seriesguide/billing/localdb/Entitlements.kt index b8e6e7fbdd..3c61f5c422 100644 --- a/billing/src/main/java/com/uwetrottmann/seriesguide/billing/localdb/Entitlements.kt +++ b/billing/src/main/java/com/uwetrottmann/seriesguide/billing/localdb/Entitlements.kt @@ -1,18 +1,6 @@ -/** - * Copyright (C) 2018 Google Inc. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +// Copyright (C) 2018 Google Inc. All Rights Reserved. +// Copyright 2019, 2020 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 package com.uwetrottmann.seriesguide.billing.localdb diff --git a/billing/src/main/java/com/uwetrottmann/seriesguide/billing/localdb/EntitlementsDao.kt b/billing/src/main/java/com/uwetrottmann/seriesguide/billing/localdb/EntitlementsDao.kt index 9f68301f50..9826a95615 100644 --- a/billing/src/main/java/com/uwetrottmann/seriesguide/billing/localdb/EntitlementsDao.kt +++ b/billing/src/main/java/com/uwetrottmann/seriesguide/billing/localdb/EntitlementsDao.kt @@ -1,18 +1,6 @@ -/** - * Copyright (C) 2018 Google Inc. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +// Copyright (C) 2018 Google Inc. All Rights Reserved. +// Copyright 2019 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 package com.uwetrottmann.seriesguide.billing.localdb import androidx.lifecycle.LiveData diff --git a/billing/src/main/java/com/uwetrottmann/seriesguide/billing/localdb/LocalBillingDb.kt b/billing/src/main/java/com/uwetrottmann/seriesguide/billing/localdb/LocalBillingDb.kt index 5c79a17706..2923df2b03 100644 --- a/billing/src/main/java/com/uwetrottmann/seriesguide/billing/localdb/LocalBillingDb.kt +++ b/billing/src/main/java/com/uwetrottmann/seriesguide/billing/localdb/LocalBillingDb.kt @@ -1,18 +1,6 @@ -/** - * Copyright (C) 2018 Google Inc. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +// Copyright (C) 2018 Google Inc. All Rights Reserved. +// Copyright 2019, 2020, 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 package com.uwetrottmann.seriesguide.billing.localdb diff --git a/billing/src/main/java/com/uwetrottmann/seriesguide/billing/localdb/PurchaseDao.kt b/billing/src/main/java/com/uwetrottmann/seriesguide/billing/localdb/PurchaseDao.kt index ba48193328..ba50a9c24f 100644 --- a/billing/src/main/java/com/uwetrottmann/seriesguide/billing/localdb/PurchaseDao.kt +++ b/billing/src/main/java/com/uwetrottmann/seriesguide/billing/localdb/PurchaseDao.kt @@ -1,18 +1,6 @@ -/** - * Copyright (C) 2018 Google Inc. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +// Copyright (C) 2018 Google Inc. All Rights Reserved. +// Copyright 2019 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 package com.uwetrottmann.seriesguide.billing.localdb import androidx.room.Dao diff --git a/billing/src/main/java/com/uwetrottmann/seriesguide/common/SingleLiveEvent.kt b/billing/src/main/java/com/uwetrottmann/seriesguide/common/SingleLiveEvent.kt index c2c805f5ee..72d0211d4d 100644 --- a/billing/src/main/java/com/uwetrottmann/seriesguide/common/SingleLiveEvent.kt +++ b/billing/src/main/java/com/uwetrottmann/seriesguide/common/SingleLiveEvent.kt @@ -1,18 +1,6 @@ -/* - * Copyright 2017 Google Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +// Copyright 2017 Google Inc. +// Copyright 2019, 2021 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 package com.uwetrottmann.seriesguide.common diff --git a/build.gradle.kts b/build.gradle.kts index e39c3e9e6e..1d895396d8 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,3 +1,6 @@ +// Copyright 2023 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + // Top-level build file where you can add configuration options common to all sub-projects/modules. plugins { alias(libs.plugins.versions) @@ -19,8 +22,8 @@ buildscript { val sgTargetSdk by extra(33) // Android 13 (T) // version 21xxxyy -> min SDK 21, release xxx, build yy - val sgVersionCode by extra(2107002) - val sgVersionName by extra("70.0.2") + val sgVersionCode by extra(2107003) + val sgVersionName by extra("70.0.3") val isCiBuild by extra { System.getenv("CI") == "true" } diff --git a/screenshots/phone.png b/screenshots/phone.png index b0c8c70cdc..3535c90d67 100644 Binary files a/screenshots/phone.png and b/screenshots/phone.png differ diff --git a/widgets/src/main/java/com/uwetrottmann/seriesguide/widgets/DragGripView.java b/widgets/src/main/java/com/uwetrottmann/seriesguide/widgets/DragGripView.java index d4ee1e9358..c4af2141d6 100644 --- a/widgets/src/main/java/com/uwetrottmann/seriesguide/widgets/DragGripView.java +++ b/widgets/src/main/java/com/uwetrottmann/seriesguide/widgets/DragGripView.java @@ -1,18 +1,6 @@ -/* - * Copyright 2013 Google Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +// Copyright 2013 Google Inc. +// Copyright 2014, 2016-2019, 2022 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 package com.uwetrottmann.seriesguide.widgets; diff --git a/widgets/src/main/java/com/uwetrottmann/seriesguide/widgets/EmptyViewSwipeRefreshLayout.java b/widgets/src/main/java/com/uwetrottmann/seriesguide/widgets/EmptyViewSwipeRefreshLayout.java index 3c28036612..0230069037 100644 --- a/widgets/src/main/java/com/uwetrottmann/seriesguide/widgets/EmptyViewSwipeRefreshLayout.java +++ b/widgets/src/main/java/com/uwetrottmann/seriesguide/widgets/EmptyViewSwipeRefreshLayout.java @@ -1,3 +1,6 @@ +// Copyright 2014-2019 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.uwetrottmann.seriesguide.widgets; import android.content.Context; diff --git a/widgets/src/main/java/com/uwetrottmann/seriesguide/widgets/SlidingTabLayout.java b/widgets/src/main/java/com/uwetrottmann/seriesguide/widgets/SlidingTabLayout.java index 15a8899773..31edd91eeb 100644 --- a/widgets/src/main/java/com/uwetrottmann/seriesguide/widgets/SlidingTabLayout.java +++ b/widgets/src/main/java/com/uwetrottmann/seriesguide/widgets/SlidingTabLayout.java @@ -1,18 +1,6 @@ -/* - * Copyright (C) 2013 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +// Copyright (C) 2013 The Android Open Source Project +// Copyright 2014, 2016-2019, 2021, 2022 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 package com.uwetrottmann.seriesguide.widgets; diff --git a/widgets/src/main/java/com/uwetrottmann/seriesguide/widgets/SlidingTabStrip.java b/widgets/src/main/java/com/uwetrottmann/seriesguide/widgets/SlidingTabStrip.java index 3ded52dd05..1aa6b35a8a 100644 --- a/widgets/src/main/java/com/uwetrottmann/seriesguide/widgets/SlidingTabStrip.java +++ b/widgets/src/main/java/com/uwetrottmann/seriesguide/widgets/SlidingTabStrip.java @@ -1,18 +1,6 @@ -/* - * Copyright (C) 2013 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +// Copyright (C) 2013 The Android Open Source Project +// Copyright 2014, 2017-2019, 2021 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 package com.uwetrottmann.seriesguide.widgets; diff --git a/widgets/src/main/java/com/uwetrottmann/seriesguide/widgets/WrappingViewPager.kt b/widgets/src/main/java/com/uwetrottmann/seriesguide/widgets/WrappingViewPager.kt index e0a194964d..809b2b426c 100644 --- a/widgets/src/main/java/com/uwetrottmann/seriesguide/widgets/WrappingViewPager.kt +++ b/widgets/src/main/java/com/uwetrottmann/seriesguide/widgets/WrappingViewPager.kt @@ -1,3 +1,6 @@ +// Copyright 2019 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.uwetrottmann.seriesguide.widgets import android.content.Context diff --git a/widgets/src/main/java/com/uwetrottmann/seriesguide/widgets/dragsortview/DragSortController.java b/widgets/src/main/java/com/uwetrottmann/seriesguide/widgets/dragsortview/DragSortController.java index 84a631246d..21ef99a0cb 100644 --- a/widgets/src/main/java/com/uwetrottmann/seriesguide/widgets/dragsortview/DragSortController.java +++ b/widgets/src/main/java/com/uwetrottmann/seriesguide/widgets/dragsortview/DragSortController.java @@ -1,3 +1,6 @@ +// Copyright 2014, 2015, 2017-2019 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.uwetrottmann.seriesguide.widgets.dragsortview; import android.graphics.Point; diff --git a/widgets/src/main/java/com/uwetrottmann/seriesguide/widgets/dragsortview/DragSortItemView.java b/widgets/src/main/java/com/uwetrottmann/seriesguide/widgets/dragsortview/DragSortItemView.java index f692ec1469..de81fba045 100644 --- a/widgets/src/main/java/com/uwetrottmann/seriesguide/widgets/dragsortview/DragSortItemView.java +++ b/widgets/src/main/java/com/uwetrottmann/seriesguide/widgets/dragsortview/DragSortItemView.java @@ -1,3 +1,6 @@ +// Copyright 2014, 2015, 2017, 2019 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.uwetrottmann.seriesguide.widgets.dragsortview; import android.content.Context; diff --git a/widgets/src/main/java/com/uwetrottmann/seriesguide/widgets/dragsortview/DragSortItemViewCheckable.java b/widgets/src/main/java/com/uwetrottmann/seriesguide/widgets/dragsortview/DragSortItemViewCheckable.java index 70e0aaab82..858a244db0 100644 --- a/widgets/src/main/java/com/uwetrottmann/seriesguide/widgets/dragsortview/DragSortItemViewCheckable.java +++ b/widgets/src/main/java/com/uwetrottmann/seriesguide/widgets/dragsortview/DragSortItemViewCheckable.java @@ -1,3 +1,6 @@ +// Copyright 2014, 2015, 2017, 2019 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.uwetrottmann.seriesguide.widgets.dragsortview; import android.content.Context; diff --git a/widgets/src/main/java/com/uwetrottmann/seriesguide/widgets/dragsortview/DragSortListView.java b/widgets/src/main/java/com/uwetrottmann/seriesguide/widgets/dragsortview/DragSortListView.java index f4e2e4ac83..0fb43e1ddb 100644 --- a/widgets/src/main/java/com/uwetrottmann/seriesguide/widgets/dragsortview/DragSortListView.java +++ b/widgets/src/main/java/com/uwetrottmann/seriesguide/widgets/dragsortview/DragSortListView.java @@ -1,23 +1,6 @@ -/* - * DragSortListView. - * - * A subclass of the Android ListView component that enables drag - * and drop re-ordering of list items. - * - * Copyright 2012 Carl Bauer - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +// Copyright 2012 Carl Bauer +// Copyright 2014, 2015, 2017-2019 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 package com.uwetrottmann.seriesguide.widgets.dragsortview; @@ -50,9 +33,10 @@ import timber.log.Timber; /** - * ListView subclass that mediates drag and drop resorting of items. - * - * @author heycosmo + * DragSortListView. + *

+ * A subclass of the Android ListView component that enables drag + * and drop re-ordering of list items. */ public class DragSortListView extends ListView { diff --git a/widgets/src/main/java/com/uwetrottmann/seriesguide/widgets/dragsortview/SimpleFloatViewManager.java b/widgets/src/main/java/com/uwetrottmann/seriesguide/widgets/dragsortview/SimpleFloatViewManager.java index 5f9c410edd..6103cb9471 100644 --- a/widgets/src/main/java/com/uwetrottmann/seriesguide/widgets/dragsortview/SimpleFloatViewManager.java +++ b/widgets/src/main/java/com/uwetrottmann/seriesguide/widgets/dragsortview/SimpleFloatViewManager.java @@ -1,3 +1,6 @@ +// Copyright 2014, 2015, 2017-2019 Uwe Trottmann +// SPDX-License-Identifier: Apache-2.0 + package com.uwetrottmann.seriesguide.widgets.dragsortview; import android.content.Context;