From 492d4b7a88f9dc15e3a0605e3329d77a6c72a47c Mon Sep 17 00:00:00 2001 From: Sebastiano Barezzi Date: Sun, 12 Sep 2021 21:27:59 +0200 Subject: sdm660-common: Move to SPDX license identifier Change-Id: Ic46de254772fb2c3d57566ac0c60a7f5a7f55ab9 --- light/Android.bp | 11 +---------- light/Light.cpp | 12 +----------- light/Light.h | 12 +----------- light/service.cpp | 12 +----------- 4 files changed, 4 insertions(+), 43 deletions(-) (limited to 'light') diff --git a/light/Android.bp b/light/Android.bp index b6910e6..66509c2 100644 --- a/light/Android.bp +++ b/light/Android.bp @@ -1,17 +1,8 @@ // // 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 +// SPDX-License-Identifier: Apache-2.0 // -// 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 { defaults: ["hidl_defaults"], diff --git a/light/Light.cpp b/light/Light.cpp index 145ed32..2de81cb 100644 --- a/light/Light.cpp +++ b/light/Light.cpp @@ -2,17 +2,7 @@ * Copyright (C) 2018 The Android Open Source Project * 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-License-Identifier: Apache-2.0 */ // Author := dev_harsh1998, Isaac Chen diff --git a/light/Light.h b/light/Light.h index 1a28589..18cbb08 100644 --- a/light/Light.h +++ b/light/Light.h @@ -1,17 +1,7 @@ /* * Copyright (C) 2017-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-License-Identifier: Apache-2.0 */ #pragma once diff --git a/light/service.cpp b/light/service.cpp index 27a4ebf..5b223a1 100644 --- a/light/service.cpp +++ b/light/service.cpp @@ -2,17 +2,7 @@ * Copyright (C) 2018 The Android Open Source Project * 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-License-Identifier: Apache-2.0 */ #define LOG_TAG "android.hardware.light@2.0-service.xiaomi_sdm660" -- cgit v1.2.3