Add VINTF Fragment to Sensors HAL 2.0

Bug: 122267378
Test: Built Cuttlefish, Sensors HAL 2.0 requested on boot
Change-Id: Ibe1eaa277852db1b8346caee172632f0951daefc
This commit is contained in:
Brian Stack
2019-01-07 16:28:30 -08:00
parent f96dc6ed8f
commit 8972040239
2 changed files with 12 additions and 0 deletions

View File

@@ -35,4 +35,5 @@ cc_binary {
"libpower",
"libutils",
],
vintf_fragments: ["android.hardware.sensors@2.0.xml"],
}

View File

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