diff --git a/AndroidProducts.mk b/AndroidProducts.mk index 5432d5f..b358c7b 100644 --- a/AndroidProducts.mk +++ b/AndroidProducts.mk @@ -1,17 +1,6 @@ # -# Copyright (C) 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: 2022 The LineageOS Project +# SPDX-License-Identifier: Apache-2.0 # PRODUCT_MAKEFILES := \ diff --git a/BoardConfig.mk b/BoardConfig.mk index 3c0df06..c1da797 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -1,17 +1,6 @@ # -# Copyright (C) 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: 2022-2024 The LineageOS Project +# SPDX-License-Identifier: Apache-2.0 # DEVICE_PATH := device/motorola/berlin diff --git a/device.mk b/device.mk index 27249a2..eb5a03e 100644 --- a/device.mk +++ b/device.mk @@ -1,17 +1,6 @@ # -# Copyright (C) 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: 2022-2024 The LineageOS Project +# SPDX-License-Identifier: Apache-2.0 # # Boot animation diff --git a/fingerprint/Android.bp b/fingerprint/Android.bp index 5fe40bc..aed5c9e 100644 --- a/fingerprint/Android.bp +++ b/fingerprint/Android.bp @@ -1,17 +1,7 @@ // -// Copyright (C) 2017-2018 The LineageOS Project +// SPDX-FileCopyrightText: 2022-2024 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_binary { name: "android.hardware.biometrics.fingerprint@2.1-service.berlin", vintf_fragments: ["android.hardware.biometrics.fingerprint@2.1-service.berlin.xml"], diff --git a/fingerprint/BiometricsFingerprint.cpp b/fingerprint/BiometricsFingerprint.cpp index eaf05c7..7bfe65c 100644 --- a/fingerprint/BiometricsFingerprint.cpp +++ b/fingerprint/BiometricsFingerprint.cpp @@ -1,18 +1,7 @@ /* - * Copyright (C) 2017 The Android Open Source Project - * Copyright (C) 2018-2020 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: 2018-2020 The Android Open Source Project + * SPDX-FileCopyrightText: 2020-2024 The LineageOS Project + * SPDX-License-Identifier: Apache-2.0 */ #define LOG_TAG "android.hardware.biometrics.fingerprint@2.1-service.berlin" diff --git a/fingerprint/BiometricsFingerprint.h b/fingerprint/BiometricsFingerprint.h index a92a419..a3f57c5 100644 --- a/fingerprint/BiometricsFingerprint.h +++ b/fingerprint/BiometricsFingerprint.h @@ -1,18 +1,8 @@ /* - * Copyright (C) 2017 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: 2022-2024 The LineageOS Project + * SPDX-License-Identifier: Apache-2.0 */ + #ifndef ANDROID_HARDWARE_BIOMETRICS_FINGERPRINT_V2_1_BIOMETRICSFINGERPRINT_H #define ANDROID_HARDWARE_BIOMETRICS_FINGERPRINT_V2_1_BIOMETRICSFINGERPRINT_H diff --git a/fingerprint/service.cpp b/fingerprint/service.cpp index 33391c3..d468769 100644 --- a/fingerprint/service.cpp +++ b/fingerprint/service.cpp @@ -1,17 +1,6 @@ /* - * Copyright (C) 2017 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-License-Identifier: Apache-2.0 */ #define LOG_TAG "android.hardware.biometrics.fingerprint@2.1-service.berlin" diff --git a/lineage_berlin.mk b/lineage_berlin.mk index 5bf5c5c..eba4d96 100644 --- a/lineage_berlin.mk +++ b/lineage_berlin.mk @@ -1,17 +1,6 @@ # -# Copyright (C) 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: 2022-2024 The LineageOS Project +# SPDX-License-Identifier: Apache-2.0 # # Inherit from those products. Most specific first. diff --git a/manifest.xml b/manifest.xml index c57fb24..aa18622 100644 --- a/manifest.xml +++ b/manifest.xml @@ -1,5 +1,10 @@ + + - + vendor.lineage.livedisplay hwbinder 2.1 @@ -15,5 +20,5 @@ IAntiFlicker default - + diff --git a/resource-overlay/Frameworks/Android.bp b/resource-overlay/Frameworks/Android.bp index 95839da..fbb690a 100644 --- a/resource-overlay/Frameworks/Android.bp +++ b/resource-overlay/Frameworks/Android.bp @@ -1,3 +1,8 @@ +// +// SPDX-FileCopyrightText: 2022 The LineageOS Project +// SPDX-License-Identifier: Apache-2.0 +// + runtime_resource_overlay { name: "FrameworksResBerlin", sdk_version: "current", diff --git a/resource-overlay/Frameworks/AndroidManifest.xml b/resource-overlay/Frameworks/AndroidManifest.xml index 0ad488e..23361db 100644 --- a/resource-overlay/Frameworks/AndroidManifest.xml +++ b/resource-overlay/Frameworks/AndroidManifest.xml @@ -1,6 +1,6 @@ diff --git a/resource-overlay/Frameworks/res/xml/power_profile.xml b/resource-overlay/Frameworks/res/xml/power_profile.xml index 126986e..57b5832 100644 --- a/resource-overlay/Frameworks/res/xml/power_profile.xml +++ b/resource-overlay/Frameworks/res/xml/power_profile.xml @@ -1,4 +1,8 @@ + 0 139.28 diff --git a/resource-overlay/LineageSystemUI/Android.bp b/resource-overlay/LineageSystemUI/Android.bp index db6e496..71022f1 100644 --- a/resource-overlay/LineageSystemUI/Android.bp +++ b/resource-overlay/LineageSystemUI/Android.bp @@ -1,5 +1,5 @@ // -// Copyright (C) 2022 The LineageOS Project +// SPDX-FileCopyrightText: 2022 The LineageOS Project // SPDX-License-Identifier: Apache-2.0 // diff --git a/resource-overlay/LineageSystemUI/AndroidManifest.xml b/resource-overlay/LineageSystemUI/AndroidManifest.xml index 9bbb2f0..35d4ac8 100644 --- a/resource-overlay/LineageSystemUI/AndroidManifest.xml +++ b/resource-overlay/LineageSystemUI/AndroidManifest.xml @@ -1,6 +1,6 @@ diff --git a/resource-overlay/SettingsProvider/Android.bp b/resource-overlay/SettingsProvider/Android.bp index e04c503..9bdda80 100644 --- a/resource-overlay/SettingsProvider/Android.bp +++ b/resource-overlay/SettingsProvider/Android.bp @@ -1,3 +1,8 @@ +// +// SPDX-FileCopyrightText: 2022 The LineageOS Project +// SPDX-License-Identifier: Apache-2.0 +// + runtime_resource_overlay { name: "SettingsProviderResBerlin", sdk_version: "current", diff --git a/resource-overlay/SettingsProvider/AndroidManifest.xml b/resource-overlay/SettingsProvider/AndroidManifest.xml index b3df49b..5ad1457 100644 --- a/resource-overlay/SettingsProvider/AndroidManifest.xml +++ b/resource-overlay/SettingsProvider/AndroidManifest.xml @@ -1,6 +1,6 @@ diff --git a/resource-overlay/SystemUI/Android.bp b/resource-overlay/SystemUI/Android.bp index e6148e3..1ef38c0 100644 --- a/resource-overlay/SystemUI/Android.bp +++ b/resource-overlay/SystemUI/Android.bp @@ -1,3 +1,8 @@ +// +// SPDX-FileCopyrightText: 2022 The LineageOS Project +// SPDX-License-Identifier: Apache-2.0 +// + runtime_resource_overlay { name: "SystemUIResBerlin", sdk_version: "current", diff --git a/resource-overlay/SystemUI/AndroidManifest.xml b/resource-overlay/SystemUI/AndroidManifest.xml index 784c2bf..11eda8a 100644 --- a/resource-overlay/SystemUI/AndroidManifest.xml +++ b/resource-overlay/SystemUI/AndroidManifest.xml @@ -1,6 +1,6 @@ diff --git a/touch/Android.bp b/touch/Android.bp index b24be52..0e491fd 100644 --- a/touch/Android.bp +++ b/touch/Android.bp @@ -1,17 +1,7 @@ // -// Copyright (C) 2020 The LineageOS Project +// SPDX-FileCopyrightText: 2022 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_binary { name: "vendor.lineage.touch@1.0-service.berlin", diff --git a/touch/HighTouchPollingRate.cpp b/touch/HighTouchPollingRate.cpp index bfa9152..84cb87f 100644 --- a/touch/HighTouchPollingRate.cpp +++ b/touch/HighTouchPollingRate.cpp @@ -1,17 +1,6 @@ /* - * Copyright (C) 2020 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: 2022-2024 The LineageOS Project + * SPDX-License-Identifier: Apache-2.0 */ #define LOG_TAG "HighTouchPollingRateService" diff --git a/touch/HighTouchPollingRate.h b/touch/HighTouchPollingRate.h index 548654a..bd141a0 100644 --- a/touch/HighTouchPollingRate.h +++ b/touch/HighTouchPollingRate.h @@ -1,17 +1,6 @@ /* - * Copyright (C) 2020 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: 2022-2024 The LineageOS Project + * SPDX-License-Identifier: Apache-2.0 */ #pragma once diff --git a/touch/service.cpp b/touch/service.cpp index 455bc22..220c1c9 100644 --- a/touch/service.cpp +++ b/touch/service.cpp @@ -1,17 +1,6 @@ /* - * Copyright (C) 2020 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: 2022-2024 The LineageOS Project + * SPDX-License-Identifier: Apache-2.0 */ #define LOG_TAG "lineage.touch@1.0-service.berlin"