From b19ea437b83a3db152fd256aa71b7559ef22d66b Mon Sep 17 00:00:00 2001 From: Michael Bestas Date: Fri, 20 Jun 2025 22:19:26 -0400 Subject: [PATCH] lake: Switch to SPDX copyright * Also drop copyright years Change-Id: I5e4c5badde4af6b745e2874294fdaefffb4f6954 --- Android.bp | 5 +++++ AndroidProducts.mk | 15 ++------------- BoardConfig.mk | 15 ++------------- README.md | 10 ++++++++++ device.mk | 15 ++------------- extract-files.py | 2 +- init/Android.bp | 2 +- lineage_lake.mk | 5 +++++ .../device/Frameworks/res/values/config.xml | 17 ++--------------- .../device/Frameworks/res/values/dimens.xml | 18 +++--------------- .../Frameworks/res/xml/power_profile.xml | 5 +++++ .../device/Settings/res/values/config.xml | 16 +++------------- .../device/Settings/res/values/dimens.xml | 17 +++-------------- .../SettingsProvider/res/values/defaults.xml | 18 +++--------------- .../device/SystemUI/res/values/dimens.xml | 17 +++-------------- setup-makefiles.py | 4 ++++ 16 files changed, 54 insertions(+), 127 deletions(-) diff --git a/Android.bp b/Android.bp index 9515b25..2805bde 100644 --- a/Android.bp +++ b/Android.bp @@ -1,2 +1,7 @@ +// +// SPDX-FileCopyrightText: The LineageOS Project +// SPDX-License-Identifier: Apache-2.0 +// + soong_namespace { } diff --git a/AndroidProducts.mk b/AndroidProducts.mk index 1d1785a..a1e1c3e 100644 --- a/AndroidProducts.mk +++ b/AndroidProducts.mk @@ -1,17 +1,6 @@ # -# Copyright (C) 2017-2019 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 # PRODUCT_MAKEFILES := \ diff --git a/BoardConfig.mk b/BoardConfig.mk index cc5e5f7..150c652 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -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 # # Must set these before including common config diff --git a/README.md b/README.md index 5ec1db8..6d4bfbe 100644 --- a/README.md +++ b/README.md @@ -18,3 +18,13 @@ Rear Camera | 16 MP, f/1.7, 1.22µm, PDAF, OIS + 12 MP, 1.25µm depth sensor Front Camera | 12 MP, 1.25µm ![Moto G7 Plus](https://cdn2.gsmarena.com/vv/pics/motorola/motorola-moto-g7-plus-2.jpg "Moto G7 Plus") + + +``` + +SPDX-FileCopyrightText: The LineageOS Project + +SPDX-License-Identifier: Apache-2.0 + +``` + diff --git a/device.mk b/device.mk index 6810b0a..99ecab4 100644 --- a/device.mk +++ b/device.mk @@ -1,17 +1,6 @@ # -# Copyright (C) 2018 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 # # Vendor blobs diff --git a/extract-files.py b/extract-files.py index 030869a..859c338 100755 --- a/extract-files.py +++ b/extract-files.py @@ -1,6 +1,6 @@ #!/usr/bin/env -S PYTHONPATH=../../../tools/extract-utils python3 # -# SPDX-FileCopyrightText: 2024 The LineageOS Project +# SPDX-FileCopyrightText: The LineageOS Project # SPDX-License-Identifier: Apache-2.0 # diff --git a/init/Android.bp b/init/Android.bp index 424f47b..77220ab 100644 --- a/init/Android.bp +++ b/init/Android.bp @@ -1,5 +1,5 @@ // -// SPDX-FileCopyrightText: 2024 The LineageOS Project +// SPDX-FileCopyrightText: The LineageOS Project // SPDX-License-Identifier: Apache-2.0 // diff --git a/lineage_lake.mk b/lineage_lake.mk index ad37c09..adfbe4f 100644 --- a/lineage_lake.mk +++ b/lineage_lake.mk @@ -1,3 +1,8 @@ +# +# SPDX-FileCopyrightText: The LineageOS Project +# SPDX-License-Identifier: Apache-2.0 +# + # Inherit some common Lineage stuff. $(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk) $(call inherit-product, vendor/lineage/config/common_full_phone.mk) diff --git a/resource-overlay/device/Frameworks/res/values/config.xml b/resource-overlay/device/Frameworks/res/values/config.xml index c4d8080..c131ad8 100644 --- a/resource-overlay/device/Frameworks/res/values/config.xml +++ b/resource-overlay/device/Frameworks/res/values/config.xml @@ -1,20 +1,7 @@ diff --git a/resource-overlay/device/Frameworks/res/values/dimens.xml b/resource-overlay/device/Frameworks/res/values/dimens.xml index d63bf9a..e06f4bf 100644 --- a/resource-overlay/device/Frameworks/res/values/dimens.xml +++ b/resource-overlay/device/Frameworks/res/values/dimens.xml @@ -1,21 +1,9 @@ + 111.0px diff --git a/resource-overlay/device/Frameworks/res/xml/power_profile.xml b/resource-overlay/device/Frameworks/res/xml/power_profile.xml index 653c39a..81c3b59 100644 --- a/resource-overlay/device/Frameworks/res/xml/power_profile.xml +++ b/resource-overlay/device/Frameworks/res/xml/power_profile.xml @@ -1,4 +1,9 @@ + + 0 62.631 diff --git a/resource-overlay/device/Settings/res/values/config.xml b/resource-overlay/device/Settings/res/values/config.xml index 6a807ff..80c42a9 100644 --- a/resource-overlay/device/Settings/res/values/config.xml +++ b/resource-overlay/device/Settings/res/values/config.xml @@ -1,17 +1,7 @@ - diff --git a/resource-overlay/device/Settings/res/values/dimens.xml b/resource-overlay/device/Settings/res/values/dimens.xml index ede0178..8cbc9af 100644 --- a/resource-overlay/device/Settings/res/values/dimens.xml +++ b/resource-overlay/device/Settings/res/values/dimens.xml @@ -1,19 +1,8 @@ + SPDX-FileCopyrightText: The LineageOS Project + SPDX-License-Identifier: Apache-2.0 +--> diff --git a/resource-overlay/device/SettingsProvider/res/values/defaults.xml b/resource-overlay/device/SettingsProvider/res/values/defaults.xml index f9b7fb9..56d673e 100644 --- a/resource-overlay/device/SettingsProvider/res/values/defaults.xml +++ b/resource-overlay/device/SettingsProvider/res/values/defaults.xml @@ -1,21 +1,9 @@ + moto g(7) plus diff --git a/resource-overlay/device/SystemUI/res/values/dimens.xml b/resource-overlay/device/SystemUI/res/values/dimens.xml index e526747..a7dbfa3 100644 --- a/resource-overlay/device/SystemUI/res/values/dimens.xml +++ b/resource-overlay/device/SystemUI/res/values/dimens.xml @@ -1,20 +1,9 @@ + 14dp diff --git a/setup-makefiles.py b/setup-makefiles.py index 32947cf..e75e199 100755 --- a/setup-makefiles.py +++ b/setup-makefiles.py @@ -1 +1,5 @@ #!./extract-files.py --regenerate_makefiles +# +# SPDX-FileCopyrightText: The LineageOS Project +# SPDX-License-Identifier: Apache-2.0 +#