aboutsummaryrefslogtreecommitdiff
path: root/light
diff options
context:
space:
mode:
authorBruno Martins <bgcngm@gmail.com>2020-12-18 11:19:54 +0000
committerDavide Garberi <dade.garberi@gmail.com>2021-10-19 15:09:38 +0200
commit7b8a0463e65960ab6c30f09459b60eac3853e413 (patch)
tree856d3a2256e14c09974824c010d3b94014171f90 /light
parentf3a8d86d051481fad217fcfc5bc7695ef3e4dcbf (diff)
msm8996-common: lights: Include VINTF fragment
Change-Id: I436e67ea97511d728881e118cf8cb5b66ab338ed
Diffstat (limited to 'light')
-rw-r--r--light/Android.bp3
-rw-r--r--light/android.hardware.light@2.0-service.zuk_8996.xml11
2 files changed, 13 insertions, 1 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>