Merge "powerstats: bump version of PowerStats HAL to V2"

This commit is contained in:
Treehugger Robot
2023-02-02 01:21:00 +00:00
committed by Gerrit Code Review
3 changed files with 3 additions and 1 deletions

View File

@@ -503,6 +503,7 @@
</hal>
<hal format="aidl" optional="true">
<name>android.hardware.power.stats</name>
<version>2</version>
<interface>
<name>IPowerStats</name>
<instance>default</instance>

View File

@@ -30,7 +30,7 @@ cc_binary {
shared_libs: [
"libbase",
"libbinder_ndk",
"android.hardware.power.stats-V1-ndk",
"android.hardware.power.stats-V2-ndk",
],
srcs: [
"main.cpp",

View File

@@ -1,6 +1,7 @@
<manifest version="1.0" type="device">
<hal format="aidl">
<name>android.hardware.power.stats</name>
<version>2</version>
<fqname>IPowerStats/default</fqname>
</hal>
</manifest>