aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--light/Android.bp3
-rw-r--r--light/android.hardware.light@2.0-service.zuk_8996.xml11
-rw-r--r--manifest.xml9
3 files changed, 13 insertions, 10 deletions
diff --git a/light/Android.bp b/light/Android.bp
index 1baa106..821dc0d 100644
--- a/light/Android.bp
+++ b/light/Android.bp
@@ -1,5 +1,5 @@
//
-// Copyright (C) 2018 The LineageOS 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.
@@ -17,6 +17,7 @@ cc_binary {
name: "android.hardware.light@2.0-service.zuk_8996",
relative_install_path: "hw",
init_rc: ["android.hardware.light@2.0-service.zuk_8996.rc"],
+ vintf_fragments: ["android.hardware.light@2.0-service.zuk_8996.xml"],
srcs: ["service.cpp", "Light.cpp"],
shared_libs: [
"libbase",
diff --git a/light/android.hardware.light@2.0-service.zuk_8996.xml b/light/android.hardware.light@2.0-service.zuk_8996.xml
new file mode 100644
index 0000000..6bf62e9
--- /dev/null
+++ b/light/android.hardware.light@2.0-service.zuk_8996.xml
@@ -0,0 +1,11 @@
+<manifest version="1.0" type="device">
+ <hal format="hidl">
+ <name>android.hardware.light</name>
+ <transport>hwbinder</transport>
+ <version>2.0</version>
+ <interface>
+ <name>ILight</name>
+ <instance>default</instance>
+ </interface>
+ </hal>
+</manifest>
diff --git a/manifest.xml b/manifest.xml
index 50fdbf4..49e7471 100644
--- a/manifest.xml
+++ b/manifest.xml
@@ -154,15 +154,6 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
</interface>
</hal>
<hal format="hidl">
- <name>android.hardware.light</name>
- <transport>hwbinder</transport>
- <version>2.0</version>
- <interface>
- <name>ILight</name>
- <instance>default</instance>
- </interface>
- </hal>
- <hal format="hidl">
<name>android.hardware.media.omx</name>
<transport>hwbinder</transport>
<version>1.0</version>