diff options
Diffstat (limited to 'light')
-rw-r--r-- | light/Android.bp | 3 | ||||
-rw-r--r-- | light/android.hardware.light@2.0-service.zuk_8996.xml | 11 |
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> |