diff --git a/Android.bp b/Android.bp index 6e43982..65aba39 100644 --- a/Android.bp +++ b/Android.bp @@ -1,3 +1,8 @@ +// +// SPDX-FileCopyrightText: The LineageOS Project +// SPDX-License-Identifier: Apache-2.0 +// + soong_namespace { imports: [ "vendor/motorola/payton", diff --git a/AndroidProducts.mk b/AndroidProducts.mk index 505cf19..e91da73 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 20b6c3f..e611ca1 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 5e3bdbb..5a0a146 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,3 @@ -Copyright 2018 - The LineageOS Project - Device configuration for Motorola X4 (payton) ================================== @@ -18,3 +16,12 @@ Rear Camera | 12 MP (f/2.0, 1.4µm, PDAF, dual pixel) Front Camera | 8 MP (f/2.2, 1.12µm, no AF) ![Motorola X4](https://cdn2.gsmarena.com/vv/pics/motorola/motorola-moto-x4-2.jpg "Motorola X4") + + +``` + +SPDX-FileCopyrightText: The LineageOS Project + +SPDX-License-Identifier: Apache-2.0 + +``` diff --git a/bootctrl/Android.bp b/bootctrl/Android.bp index 9dd6ed8..fc17779 100644 --- a/bootctrl/Android.bp +++ b/bootctrl/Android.bp @@ -1,17 +1,7 @@ // -// Copyright (C) 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. +// SPDX-FileCopyrightText: 2018 The Android Open Source Project +// SPDX-FileCopyrightText: The LineageOS Project +// SPDX-License-Identifier: Apache-2.0 // filegroup { diff --git a/device.mk b/device.mk index fc3f0d5..faf0bd8 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 d092535..e72b0c2 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/gpt-utils/Android.bp b/gpt-utils/Android.bp index ba7887f..e568a23 100644 --- a/gpt-utils/Android.bp +++ b/gpt-utils/Android.bp @@ -1,19 +1,8 @@ // -// Copyright (C) 2018 The Android Open Source Project +// SPDX-FileCopyrightText: 2018 The Android Open Source Project +// SPDX-FileCopyrightText: The LineageOS Project +// SPDX-License-Identifier: Apache-2.0 // -// 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. -// - cc_library { name: "libgptutils.payton", diff --git a/lineage_payton.mk b/lineage_payton.mk index c9bbc80..1f2b2f6 100644 --- a/lineage_payton.mk +++ b/lineage_payton.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/payton_manifest.xml b/payton_manifest.xml index 855b447..4b2d067 100644 --- a/payton_manifest.xml +++ b/payton_manifest.xml @@ -1,3 +1,7 @@ + android.hardware.boot diff --git a/resource-overlay/device/Frameworks/res/xml/power_profile.xml b/resource-overlay/device/Frameworks/res/xml/power_profile.xml index 0b3705f..2b56fb6 100644 --- a/resource-overlay/device/Frameworks/res/xml/power_profile.xml +++ b/resource-overlay/device/Frameworks/res/xml/power_profile.xml @@ -1,20 +1,8 @@ diff --git a/resource-overlay/device/LineagePlatform/res/values/config.xml b/resource-overlay/device/LineagePlatform/res/values/config.xml index e0ebdaa..2dfceb4 100644 --- a/resource-overlay/device/LineagePlatform/res/values/config.xml +++ b/resource-overlay/device/LineagePlatform/res/values/config.xml @@ -1,19 +1,8 @@ - diff --git a/resource-overlay/device/SettingsProvider/res/values/defaults.xml b/resource-overlay/device/SettingsProvider/res/values/defaults.xml index bb59674..e5e2ca8 100644 --- a/resource-overlay/device/SettingsProvider/res/values/defaults.xml +++ b/resource-overlay/device/SettingsProvider/res/values/defaults.xml @@ -1,20 +1,8 @@ diff --git a/resource-overlay/device/SystemUI/res/values/config.xml b/resource-overlay/device/SystemUI/res/values/config.xml index 709fc39..b8c0bdd 100644 --- a/resource-overlay/device/SystemUI/res/values/config.xml +++ b/resource-overlay/device/SystemUI/res/values/config.xml @@ -1,20 +1,8 @@ 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 +#