summaryrefslogtreecommitdiff
path: root/light
diff options
context:
space:
mode:
Diffstat (limited to 'light')
-rw-r--r--light/Android.bp11
-rw-r--r--light/Light.cpp12
-rw-r--r--light/Light.h12
-rw-r--r--light/service.cpp12
4 files changed, 4 insertions, 43 deletions
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"