summaryrefslogtreecommitdiff
path: root/light
diff options
context:
space:
mode:
Diffstat (limited to 'light')
-rw-r--r--light/Android.bp1
-rw-r--r--light/android.hardware.light@2.0-service.xiaomi_sdm660.xml7
2 files changed, 8 insertions, 0 deletions
diff --git a/light/Android.bp b/light/Android.bp
index 1e1b93b..b6910e6 100644
--- a/light/Android.bp
+++ b/light/Android.bp
@@ -17,6 +17,7 @@ cc_binary {
defaults: ["hidl_defaults"],
name: "android.hardware.light@2.0-service.xiaomi_sdm660",
init_rc: ["android.hardware.light@2.0-service.xiaomi_sdm660.rc"],
+ vintf_fragments: ["android.hardware.light@2.0-service.xiaomi_sdm660.xml"],
srcs: ["service.cpp", "Light.cpp"],
shared_libs: [
"libbase",
diff --git a/light/android.hardware.light@2.0-service.xiaomi_sdm660.xml b/light/android.hardware.light@2.0-service.xiaomi_sdm660.xml
new file mode 100644
index 0000000..eac7e85
--- /dev/null
+++ b/light/android.hardware.light@2.0-service.xiaomi_sdm660.xml
@@ -0,0 +1,7 @@
+<manifest version="1.0" type="device">
+ <hal format="hidl">
+ <name>android.hardware.light</name>
+ <transport>hwbinder</transport>
+ <fqname>@2.0::ILight/default</fqname>
+ </hal>
+</manifest>