diff options
author | Bruno Martins <bgcngm@gmail.com> | 2020-12-18 11:19:54 +0000 |
---|---|---|
committer | Davide Garberi <dade.garberi@gmail.com> | 2021-10-19 15:09:38 +0200 |
commit | 7b8a0463e65960ab6c30f09459b60eac3853e413 (patch) | |
tree | 856d3a2256e14c09974824c010d3b94014171f90 | |
parent | f3a8d86d051481fad217fcfc5bc7695ef3e4dcbf (diff) |
msm8996-common: lights: Include VINTF fragment
Change-Id: I436e67ea97511d728881e118cf8cb5b66ab338ed
-rw-r--r-- | light/Android.bp | 3 | ||||
-rw-r--r-- | light/android.hardware.light@2.0-service.zuk_8996.xml | 11 | ||||
-rw-r--r-- | manifest.xml | 9 |
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> |