diff --git a/hidl/biometrics/fingerprint/Android.bp b/hidl/biometrics/fingerprint/Android.bp index db48fca..a0a36a3 100644 --- a/hidl/biometrics/fingerprint/Android.bp +++ b/hidl/biometrics/fingerprint/Android.bp @@ -1,11 +1,9 @@ -package { - // See: http://go/android-license-faq - // A large-scale-change added 'default_applicable_licenses' to import - // all of the 'license_kinds' from "hardware_interfaces_license" - // to get the below license kinds: - // SPDX-license-identifier-Apache-2.0 - default_applicable_licenses: ["hardware_interfaces_license"], -} +// +// Copyright (C) 2017 The Android Open Source Project +// 2022 The LineageOS Project +// +// SPDX-License-Identifier: Apache-2.0 +// cc_binary { name: "android.hardware.biometrics.fingerprint@2.1-service.nothing", diff --git a/hidl/biometrics/fingerprint/BiometricsFingerprint.cpp b/hidl/biometrics/fingerprint/BiometricsFingerprint.cpp index 781a187..9962778 100644 --- a/hidl/biometrics/fingerprint/BiometricsFingerprint.cpp +++ b/hidl/biometrics/fingerprint/BiometricsFingerprint.cpp @@ -1,17 +1,8 @@ /* * Copyright (C) 2017 The Android Open Source Project + * 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-License-Identifier: Apache-2.0 */ #define LOG_TAG "android.hardware.biometrics.fingerprint@2.1-service.nothing" #define LOG_VERBOSE "android.hardware.biometrics.fingerprint@2.1-service.nothing" diff --git a/hidl/biometrics/fingerprint/BiometricsFingerprint.h b/hidl/biometrics/fingerprint/BiometricsFingerprint.h index 4143228..1aa9436 100644 --- a/hidl/biometrics/fingerprint/BiometricsFingerprint.h +++ b/hidl/biometrics/fingerprint/BiometricsFingerprint.h @@ -1,17 +1,8 @@ /* * Copyright (C) 2017 The Android Open Source Project + * 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-License-Identifier: Apache-2.0 */ #ifndef ANDROID_HARDWARE_BIOMETRICS_FINGERPRINT_V2_1_BIOMETRICSFINGERPRINT_H diff --git a/hidl/biometrics/fingerprint/include/fingerprint.h b/hidl/biometrics/fingerprint/include/fingerprint.h index 86ced9b..cde17f1 100644 --- a/hidl/biometrics/fingerprint/include/fingerprint.h +++ b/hidl/biometrics/fingerprint/include/fingerprint.h @@ -1,18 +1,8 @@ -/* - * Copyright (C) 2014 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) 2014 The Android Open Source Project + * + * SPDX-License-Identifier: Apache-2.0 + */ #ifndef ANDROID_INCLUDE_HARDWARE_FINGERPRINT_H #define ANDROID_INCLUDE_HARDWARE_FINGERPRINT_H diff --git a/hidl/biometrics/fingerprint/service.cpp b/hidl/biometrics/fingerprint/service.cpp index 1e8caf8..cc01665 100644 --- a/hidl/biometrics/fingerprint/service.cpp +++ b/hidl/biometrics/fingerprint/service.cpp @@ -1,17 +1,8 @@ /* * Copyright (C) 2017 The Android Open Source Project + * 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-License-Identifier: Apache-2.0 */ #define LOG_TAG "android.hardware.biometrics.fingerprint@2.1-service.nothing"