sdm660-common: lights: Include VINTF fragment
Change-Id: I436e67ea97511d728881e118cf8cb5b66ab338ed
This commit is contained in:
parent
709e0133c2
commit
313e2e8d10
3 changed files with 13 additions and 10 deletions
|
@ -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");
|
||||
// you may not use this file except in compliance with the License.
|
||||
|
@ -16,6 +16,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",
|
||||
|
|
11
light/android.hardware.light@2.0-service.xiaomi_sdm660.xml
Normal file
11
light/android.hardware.light@2.0-service.xiaomi_sdm660.xml
Normal 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>
|
|
@ -151,15 +151,6 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
<fqname>@3.0::IMapper/default</fqname>
|
||||
<fqname>@4.0::IMapper/default</fqname>
|
||||
</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>
|
||||
|
|
Loading…
Reference in a new issue