sdm660-common: lights: Include VINTF fragment

Change-Id: I436e67ea97511d728881e118cf8cb5b66ab338ed
This commit is contained in:
Bruno Martins 2020-12-18 11:19:54 +00:00 committed by OdSazib
parent 709e0133c2
commit 313e2e8d10
No known key found for this signature in database
GPG key ID: B678DBD07079B021
3 changed files with 13 additions and 10 deletions

View file

@ -1,4 +1,4 @@
// Copyright (C) 2018 The LineageOS Project // Copyright (C) 2018,2020 The LineageOS Project
// //
// Licensed under the Apache License, Version 2.0 (the "License"); // Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License. // you may not use this file except in compliance with the License.
@ -16,6 +16,7 @@ cc_binary {
defaults: ["hidl_defaults"], defaults: ["hidl_defaults"],
name: "android.hardware.light@2.0-service.xiaomi_sdm660", name: "android.hardware.light@2.0-service.xiaomi_sdm660",
init_rc: ["android.hardware.light@2.0-service.xiaomi_sdm660.rc"], 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"], srcs: ["service.cpp", "Light.cpp"],
shared_libs: [ shared_libs: [
"libbase", "libbase",

View file

@ -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>

View file

@ -151,15 +151,6 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
<fqname>@3.0::IMapper/default</fqname> <fqname>@3.0::IMapper/default</fqname>
<fqname>@4.0::IMapper/default</fqname> <fqname>@4.0::IMapper/default</fqname>
</hal> </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"> <hal format="hidl">
<name>android.hardware.media.omx</name> <name>android.hardware.media.omx</name>
<transport>hwbinder</transport> <transport>hwbinder</transport>