consumerir: Include VINTF fragment

Change-Id: I7a06e48b157d94862a6a3485c2dc41e6f17750dd
This commit is contained in:
Bruno Martins 2020-12-18 09:52:40 +00:00
parent ede4d68f03
commit 8790ded9b7
2 changed files with 13 additions and 1 deletions

View File

@ -1,5 +1,5 @@
//
// Copyright (C) 2017-2018 The LineageOS Project
// Copyright (C) 2017-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.
@ -18,6 +18,7 @@ cc_binary {
relative_install_path: "hw",
defaults: ["hidl_defaults"],
init_rc: ["android.hardware.ir@1.0-service.xiaomi.rc"],
vintf_fragments: ["android.hardware.ir@1.0-service.xiaomi.xml"],
srcs: ["service.cpp", "ConsumerIr.cpp"],
shared_libs: [
"android.hardware.ir@1.0",

View File

@ -0,0 +1,11 @@
<manifest version="1.0" type="device">
<hal format="hidl">
<name>android.hardware.ir</name>
<transport>hwbinder</transport>
<version>1.0</version>
<interface>
<name>IConsumerIr</name>
<instance>default</instance>
</interface>
</hal>
</manifest>