From df460ad3fb5d0edb323797baccd22bdd45230a96 Mon Sep 17 00:00:00 2001 From: Michael Bestas Date: Sun, 18 Jan 2026 05:40:18 +0200 Subject: [PATCH] Updater: Switch to SPDX copyright headers & add missing ones Change-Id: I7be789c57434dbf37e9d12715105953b0754bca4 --- README.md | 5 +++++ app/build.gradle.kts | 5 +++++ ...efault-permissions_org.lineageos.updater.xml | 15 ++------------- app/org.lineageos.updater.xml | 15 ++------------- app/proguard.flags | 3 +++ app/src/main/AndroidManifest.xml | 5 +++++ .../lineageos/updater/ExportUpdateService.java | 15 ++------------- .../org/lineageos/updater/UpdateImporter.java | 17 +++-------------- .../org/lineageos/updater/UpdaterReceiver.java | 15 ++------------- .../org/lineageos/updater/UpdatesActivity.java | 15 ++------------- .../lineageos/updater/UpdatesCheckReceiver.java | 15 ++------------- .../org/lineageos/updater/UpdatesDbHelper.java | 15 ++------------- .../lineageos/updater/UpdatesListActivity.java | 15 ++------------- .../lineageos/updater/UpdatesListAdapter.java | 15 ++------------- .../updater/controller/ABUpdateInstaller.java | 15 ++------------- .../updater/controller/UpdateInstaller.java | 15 ++------------- .../updater/controller/UpdaterController.java | 15 ++------------- .../updater/controller/UpdaterService.java | 15 ++------------- .../updater/download/DownloadClient.java | 15 ++------------- .../download/HttpURLConnectionClient.java | 15 ++------------- .../lineageos/updater/misc/BuildInfoUtils.java | 15 ++------------- .../org/lineageos/updater/misc/Constants.java | 15 ++------------- .../org/lineageos/updater/misc/FileUtils.java | 15 ++------------- .../lineageos/updater/misc/StringGenerator.java | 15 ++------------- .../java/org/lineageos/updater/misc/Utils.java | 15 ++------------- .../org/lineageos/updater/model/Update.java | 15 ++------------- .../org/lineageos/updater/model/UpdateBase.java | 15 ++------------- .../lineageos/updater/model/UpdateBaseInfo.java | 15 ++------------- .../org/lineageos/updater/model/UpdateInfo.java | 15 ++------------- .../lineageos/updater/model/UpdateStatus.java | 15 ++------------- .../res/drawable/ic_launcher_background.xml | 2 +- .../res/drawable/ic_launcher_foreground.xml | 2 +- .../main/res/drawable/ic_menu_preferences.xml | 5 +++++ app/src/main/res/drawable/ic_menu_refresh.xml | 5 +++++ app/src/main/res/drawable/ic_pause.xml | 6 ++++++ app/src/main/res/drawable/ic_system_update.xml | 6 ++++++ .../res/layout-television/activity_updates.xml | 4 ++++ .../res/layout-television/update_item_view.xml | 4 ++++ app/src/main/res/layout/activity_updates.xml | 4 ++++ app/src/main/res/layout/checkbox_view.xml | 5 +++++ app/src/main/res/layout/preferences_dialog.xml | 4 ++++ app/src/main/res/layout/progress_dialog.xml | 15 ++------------- app/src/main/res/layout/update_item_view.xml | 4 ++++ app/src/main/res/menu/menu_action_mode.xml | 4 ++++ app/src/main/res/menu/menu_toolbar.xml | 4 ++++ app/src/main/res/mipmap-anydpi/ic_launcher.xml | 2 +- app/src/main/res/values-night/bools.xml | 4 ++++ app/src/main/res/values-night/colors.xml | 4 ++++ app/src/main/res/values-television/styles.xml | 4 ++++ app/src/main/res/values/arrays.xml | 15 ++------------- app/src/main/res/values/bools.xml | 4 ++++ app/src/main/res/values/colors.xml | 4 ++++ app/src/main/res/values/config.xml | 15 ++------------- app/src/main/res/values/integers.xml | 4 ++++ app/src/main/res/values/strings.xml | 15 ++------------- app/src/main/res/values/styles.xml | 4 ++++ app/src/main/res/values/symbols.xml | 15 ++------------- build.gradle.kts | 5 +++++ gen-keystore.sh | 3 +++ gradle.properties | 3 +++ push-update.sh | 3 +++ settings.gradle.kts | 5 +++++ 62 files changed, 186 insertions(+), 407 deletions(-) diff --git a/README.md b/README.md index ecb06f4..a618ba3 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,8 @@ + + Updater ======= Simple application to download and apply OTA packages. diff --git a/app/build.gradle.kts b/app/build.gradle.kts index b339d04..86b86a0 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -1,3 +1,8 @@ +/* + * SPDX-FileCopyrightText: The LineageOS Project + * SPDX-License-Identifier: Apache-2.0 + */ + import java.util.Properties import org.lineageos.generatebp.GenerateBpPlugin import org.lineageos.generatebp.GenerateBpPluginExtension diff --git a/app/default-permissions_org.lineageos.updater.xml b/app/default-permissions_org.lineageos.updater.xml index 027d455..d53347c 100644 --- a/app/default-permissions_org.lineageos.updater.xml +++ b/app/default-permissions_org.lineageos.updater.xml @@ -1,18 +1,7 @@ diff --git a/app/org.lineageos.updater.xml b/app/org.lineageos.updater.xml index d88ad9c..f025aa5 100644 --- a/app/org.lineageos.updater.xml +++ b/app/org.lineageos.updater.xml @@ -1,18 +1,7 @@ diff --git a/app/proguard.flags b/app/proguard.flags index 0ad3e50..23e7093 100644 --- a/app/proguard.flags +++ b/app/proguard.flags @@ -1 +1,4 @@ +# SPDX-FileCopyrightText: The LineageOS Project +# SPDX-License-Identifier: Apache-2.0 + -keep class org.lineageos.updater.ui.FlingBehavior { *; } diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 5ecd007..a93ceca 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -1,3 +1,8 @@ + + diff --git a/app/src/main/java/org/lineageos/updater/ExportUpdateService.java b/app/src/main/java/org/lineageos/updater/ExportUpdateService.java index 4403d7f..d6fd756 100644 --- a/app/src/main/java/org/lineageos/updater/ExportUpdateService.java +++ b/app/src/main/java/org/lineageos/updater/ExportUpdateService.java @@ -1,17 +1,6 @@ /* - * Copyright (C) 2017-2022 The LineageOS 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. + * SPDX-FileCopyrightText: The LineageOS Project + * SPDX-License-Identifier: Apache-2.0 */ package org.lineageos.updater; diff --git a/app/src/main/java/org/lineageos/updater/UpdateImporter.java b/app/src/main/java/org/lineageos/updater/UpdateImporter.java index a557851..640fb91 100644 --- a/app/src/main/java/org/lineageos/updater/UpdateImporter.java +++ b/app/src/main/java/org/lineageos/updater/UpdateImporter.java @@ -1,18 +1,7 @@ /* - * Copyright (C) 2017-2025 The LineageOS Project - * Copyright (C) 2020-2022 SHIFT GmbH - * - * 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. + * SPDX-FileCopyrightText: The LineageOS Project + * SPDX-FileCopyrightText: 2020-2022 SHIFT GmbH + * SPDX-License-Identifier: Apache-2.0 */ package org.lineageos.updater; diff --git a/app/src/main/java/org/lineageos/updater/UpdaterReceiver.java b/app/src/main/java/org/lineageos/updater/UpdaterReceiver.java index 1fb2c5a..474adb7 100644 --- a/app/src/main/java/org/lineageos/updater/UpdaterReceiver.java +++ b/app/src/main/java/org/lineageos/updater/UpdaterReceiver.java @@ -1,17 +1,6 @@ /* - * Copyright (C) 2017-2022 The LineageOS 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. + * SPDX-FileCopyrightText: The LineageOS Project + * SPDX-License-Identifier: Apache-2.0 */ package org.lineageos.updater; diff --git a/app/src/main/java/org/lineageos/updater/UpdatesActivity.java b/app/src/main/java/org/lineageos/updater/UpdatesActivity.java index 5fab3f0..d214c1d 100644 --- a/app/src/main/java/org/lineageos/updater/UpdatesActivity.java +++ b/app/src/main/java/org/lineageos/updater/UpdatesActivity.java @@ -1,17 +1,6 @@ /* - * Copyright (C) 2017-2023 The LineageOS 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. + * SPDX-FileCopyrightText: The LineageOS Project + * SPDX-License-Identifier: Apache-2.0 */ package org.lineageos.updater; diff --git a/app/src/main/java/org/lineageos/updater/UpdatesCheckReceiver.java b/app/src/main/java/org/lineageos/updater/UpdatesCheckReceiver.java index 9f45423..86831ae 100644 --- a/app/src/main/java/org/lineageos/updater/UpdatesCheckReceiver.java +++ b/app/src/main/java/org/lineageos/updater/UpdatesCheckReceiver.java @@ -1,17 +1,6 @@ /* - * Copyright (C) 2017-2022 The LineageOS 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. + * SPDX-FileCopyrightText: The LineageOS Project + * SPDX-License-Identifier: Apache-2.0 */ package org.lineageos.updater; diff --git a/app/src/main/java/org/lineageos/updater/UpdatesDbHelper.java b/app/src/main/java/org/lineageos/updater/UpdatesDbHelper.java index 6c11a60..520bcaf 100644 --- a/app/src/main/java/org/lineageos/updater/UpdatesDbHelper.java +++ b/app/src/main/java/org/lineageos/updater/UpdatesDbHelper.java @@ -1,17 +1,6 @@ /* - * Copyright (C) 2017-2022 The LineageOS 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. + * SPDX-FileCopyrightText: The LineageOS Project + * SPDX-License-Identifier: Apache-2.0 */ package org.lineageos.updater; diff --git a/app/src/main/java/org/lineageos/updater/UpdatesListActivity.java b/app/src/main/java/org/lineageos/updater/UpdatesListActivity.java index fd63178..5ab0b20 100644 --- a/app/src/main/java/org/lineageos/updater/UpdatesListActivity.java +++ b/app/src/main/java/org/lineageos/updater/UpdatesListActivity.java @@ -1,17 +1,6 @@ /* - * Copyright (C) 2017 The LineageOS 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. + * SPDX-FileCopyrightText: The LineageOS Project + * SPDX-License-Identifier: Apache-2.0 */ package org.lineageos.updater; diff --git a/app/src/main/java/org/lineageos/updater/UpdatesListAdapter.java b/app/src/main/java/org/lineageos/updater/UpdatesListAdapter.java index 72045ca..9edc509 100644 --- a/app/src/main/java/org/lineageos/updater/UpdatesListAdapter.java +++ b/app/src/main/java/org/lineageos/updater/UpdatesListAdapter.java @@ -1,17 +1,6 @@ /* - * Copyright (C) 2017-2025 The LineageOS 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. + * SPDX-FileCopyrightText: The LineageOS Project + * SPDX-License-Identifier: Apache-2.0 */ package org.lineageos.updater; diff --git a/app/src/main/java/org/lineageos/updater/controller/ABUpdateInstaller.java b/app/src/main/java/org/lineageos/updater/controller/ABUpdateInstaller.java index d2dcdf1..21a4bba 100644 --- a/app/src/main/java/org/lineageos/updater/controller/ABUpdateInstaller.java +++ b/app/src/main/java/org/lineageos/updater/controller/ABUpdateInstaller.java @@ -1,17 +1,6 @@ /* - * Copyright (C) 2017-2024 The LineageOS 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. + * SPDX-FileCopyrightText: The LineageOS Project + * SPDX-License-Identifier: Apache-2.0 */ package org.lineageos.updater.controller; diff --git a/app/src/main/java/org/lineageos/updater/controller/UpdateInstaller.java b/app/src/main/java/org/lineageos/updater/controller/UpdateInstaller.java index b111f9f..9de6941 100644 --- a/app/src/main/java/org/lineageos/updater/controller/UpdateInstaller.java +++ b/app/src/main/java/org/lineageos/updater/controller/UpdateInstaller.java @@ -1,17 +1,6 @@ /* - * Copyright (C) 2017-2022 The LineageOS 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. + * SPDX-FileCopyrightText: The LineageOS Project + * SPDX-License-Identifier: Apache-2.0 */ package org.lineageos.updater.controller; diff --git a/app/src/main/java/org/lineageos/updater/controller/UpdaterController.java b/app/src/main/java/org/lineageos/updater/controller/UpdaterController.java index e5ac277..7090e9c 100644 --- a/app/src/main/java/org/lineageos/updater/controller/UpdaterController.java +++ b/app/src/main/java/org/lineageos/updater/controller/UpdaterController.java @@ -1,17 +1,6 @@ /* - * Copyright (C) 2017-2025 The LineageOS 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. + * SPDX-FileCopyrightText: The LineageOS Project + * SPDX-License-Identifier: Apache-2.0 */ package org.lineageos.updater.controller; diff --git a/app/src/main/java/org/lineageos/updater/controller/UpdaterService.java b/app/src/main/java/org/lineageos/updater/controller/UpdaterService.java index 8b8b43f..ef226df 100644 --- a/app/src/main/java/org/lineageos/updater/controller/UpdaterService.java +++ b/app/src/main/java/org/lineageos/updater/controller/UpdaterService.java @@ -1,17 +1,6 @@ /* - * Copyright (C) 2017-2025 The LineageOS 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. + * SPDX-FileCopyrightText: The LineageOS Project + * SPDX-License-Identifier: Apache-2.0 */ package org.lineageos.updater.controller; diff --git a/app/src/main/java/org/lineageos/updater/download/DownloadClient.java b/app/src/main/java/org/lineageos/updater/download/DownloadClient.java index 3494947..9f115ca 100644 --- a/app/src/main/java/org/lineageos/updater/download/DownloadClient.java +++ b/app/src/main/java/org/lineageos/updater/download/DownloadClient.java @@ -1,17 +1,6 @@ /* - * Copyright (C) 2017-2022 The LineageOS 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. + * SPDX-FileCopyrightText: The LineageOS Project + * SPDX-License-Identifier: Apache-2.0 */ package org.lineageos.updater.download; diff --git a/app/src/main/java/org/lineageos/updater/download/HttpURLConnectionClient.java b/app/src/main/java/org/lineageos/updater/download/HttpURLConnectionClient.java index 6306761..de26def 100644 --- a/app/src/main/java/org/lineageos/updater/download/HttpURLConnectionClient.java +++ b/app/src/main/java/org/lineageos/updater/download/HttpURLConnectionClient.java @@ -1,17 +1,6 @@ /* - * Copyright (C) 2017-2022 The LineageOS 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. + * SPDX-FileCopyrightText: The LineageOS Project + * SPDX-License-Identifier: Apache-2.0 */ package org.lineageos.updater.download; diff --git a/app/src/main/java/org/lineageos/updater/misc/BuildInfoUtils.java b/app/src/main/java/org/lineageos/updater/misc/BuildInfoUtils.java index 4b90a45..911e2e8 100644 --- a/app/src/main/java/org/lineageos/updater/misc/BuildInfoUtils.java +++ b/app/src/main/java/org/lineageos/updater/misc/BuildInfoUtils.java @@ -1,17 +1,6 @@ /* - * Copyright (C) 2017 The LineageOS 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. + * SPDX-FileCopyrightText: The LineageOS Project + * SPDX-License-Identifier: Apache-2.0 */ package org.lineageos.updater.misc; diff --git a/app/src/main/java/org/lineageos/updater/misc/Constants.java b/app/src/main/java/org/lineageos/updater/misc/Constants.java index dfff5af..532dfe2 100644 --- a/app/src/main/java/org/lineageos/updater/misc/Constants.java +++ b/app/src/main/java/org/lineageos/updater/misc/Constants.java @@ -1,17 +1,6 @@ /* - * Copyright (C) 2017-2023 The LineageOS 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. + * SPDX-FileCopyrightText: The LineageOS Project + * SPDX-License-Identifier: Apache-2.0 */ package org.lineageos.updater.misc; diff --git a/app/src/main/java/org/lineageos/updater/misc/FileUtils.java b/app/src/main/java/org/lineageos/updater/misc/FileUtils.java index 18ef577..347300d 100644 --- a/app/src/main/java/org/lineageos/updater/misc/FileUtils.java +++ b/app/src/main/java/org/lineageos/updater/misc/FileUtils.java @@ -1,17 +1,6 @@ /* - * Copyright (C) 2017-2022 The LineageOS 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. + * SPDX-FileCopyrightText: The LineageOS Project + * SPDX-License-Identifier: Apache-2.0 */ package org.lineageos.updater.misc; diff --git a/app/src/main/java/org/lineageos/updater/misc/StringGenerator.java b/app/src/main/java/org/lineageos/updater/misc/StringGenerator.java index fec5bfe..10278a0 100644 --- a/app/src/main/java/org/lineageos/updater/misc/StringGenerator.java +++ b/app/src/main/java/org/lineageos/updater/misc/StringGenerator.java @@ -1,17 +1,6 @@ /* - * Copyright (C) 2017-2022 The LineageOS 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. + * SPDX-FileCopyrightText: The LineageOS Project + * SPDX-License-Identifier: Apache-2.0 */ package org.lineageos.updater.misc; diff --git a/app/src/main/java/org/lineageos/updater/misc/Utils.java b/app/src/main/java/org/lineageos/updater/misc/Utils.java index 518c8e7..c527e1e 100644 --- a/app/src/main/java/org/lineageos/updater/misc/Utils.java +++ b/app/src/main/java/org/lineageos/updater/misc/Utils.java @@ -1,17 +1,6 @@ /* - * Copyright (C) 2017-2025 The LineageOS 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. + * SPDX-FileCopyrightText: The LineageOS Project + * SPDX-License-Identifier: Apache-2.0 */ package org.lineageos.updater.misc; diff --git a/app/src/main/java/org/lineageos/updater/model/Update.java b/app/src/main/java/org/lineageos/updater/model/Update.java index d3cb6b2..5959a0b 100644 --- a/app/src/main/java/org/lineageos/updater/model/Update.java +++ b/app/src/main/java/org/lineageos/updater/model/Update.java @@ -1,17 +1,6 @@ /* - * Copyright (C) 2017 The LineageOS 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. + * SPDX-FileCopyrightText: The LineageOS Project + * SPDX-License-Identifier: Apache-2.0 */ package org.lineageos.updater.model; diff --git a/app/src/main/java/org/lineageos/updater/model/UpdateBase.java b/app/src/main/java/org/lineageos/updater/model/UpdateBase.java index 8fcf09c..fd0de8b 100644 --- a/app/src/main/java/org/lineageos/updater/model/UpdateBase.java +++ b/app/src/main/java/org/lineageos/updater/model/UpdateBase.java @@ -1,17 +1,6 @@ /* - * Copyright (C) 2017 The LineageOS 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. + * SPDX-FileCopyrightText: The LineageOS Project + * SPDX-License-Identifier: Apache-2.0 */ package org.lineageos.updater.model; diff --git a/app/src/main/java/org/lineageos/updater/model/UpdateBaseInfo.java b/app/src/main/java/org/lineageos/updater/model/UpdateBaseInfo.java index 2041582..7b024db 100644 --- a/app/src/main/java/org/lineageos/updater/model/UpdateBaseInfo.java +++ b/app/src/main/java/org/lineageos/updater/model/UpdateBaseInfo.java @@ -1,17 +1,6 @@ /* - * Copyright (C) 2017 The LineageOS 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. + * SPDX-FileCopyrightText: The LineageOS Project + * SPDX-License-Identifier: Apache-2.0 */ package org.lineageos.updater.model; diff --git a/app/src/main/java/org/lineageos/updater/model/UpdateInfo.java b/app/src/main/java/org/lineageos/updater/model/UpdateInfo.java index d84d82f..ec9db98 100644 --- a/app/src/main/java/org/lineageos/updater/model/UpdateInfo.java +++ b/app/src/main/java/org/lineageos/updater/model/UpdateInfo.java @@ -1,17 +1,6 @@ /* - * Copyright (C) 2017 The LineageOS 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. + * SPDX-FileCopyrightText: The LineageOS Project + * SPDX-License-Identifier: Apache-2.0 */ package org.lineageos.updater.model; diff --git a/app/src/main/java/org/lineageos/updater/model/UpdateStatus.java b/app/src/main/java/org/lineageos/updater/model/UpdateStatus.java index 12e121b..c887573 100644 --- a/app/src/main/java/org/lineageos/updater/model/UpdateStatus.java +++ b/app/src/main/java/org/lineageos/updater/model/UpdateStatus.java @@ -1,17 +1,6 @@ /* - * Copyright (C) 2017 The LineageOS 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. + * SPDX-FileCopyrightText: The LineageOS Project + * SPDX-License-Identifier: Apache-2.0 */ package org.lineageos.updater.model; diff --git a/app/src/main/res/drawable/ic_launcher_background.xml b/app/src/main/res/drawable/ic_launcher_background.xml index a2143fc..ba0a9ca 100644 --- a/app/src/main/res/drawable/ic_launcher_background.xml +++ b/app/src/main/res/drawable/ic_launcher_background.xml @@ -1,6 +1,6 @@ + + + + + + + + + + + + diff --git a/app/src/main/res/values-night/bools.xml b/app/src/main/res/values-night/bools.xml index 87d364c..c2d79e4 100644 --- a/app/src/main/res/values-night/bools.xml +++ b/app/src/main/res/values-night/bools.xml @@ -1,4 +1,8 @@ + false diff --git a/app/src/main/res/values-night/colors.xml b/app/src/main/res/values-night/colors.xml index c8a4842..160dfdc 100644 --- a/app/src/main/res/values-night/colors.xml +++ b/app/src/main/res/values-night/colors.xml @@ -1,4 +1,8 @@ + #212121 #1c1c1c diff --git a/app/src/main/res/values-television/styles.xml b/app/src/main/res/values-television/styles.xml index f60fa35..d26b56c 100644 --- a/app/src/main/res/values-television/styles.xml +++ b/app/src/main/res/values-television/styles.xml @@ -1,4 +1,8 @@ +