Update health AIDL HAL to V2
Bug: 251425963
Test: Build
Change-Id: Ifed1acc9db354b26ad9184e1c0f1cf411155e113
Signed-off-by: Jack Wu <wjack@google.com>
diff --git a/Android.bp b/Android.bp
index b5660da..0865a76 100644
--- a/Android.bp
+++ b/Android.bp
@@ -681,7 +681,7 @@
],
shared_libs: [
"android.hardware.atrace@1.0",
- "android.hardware.health-V1-ndk",
+ "android.hardware.health-V2-ndk",
"android.hardware.health@2.0",
"android.hardware.power.stats-V1-cpp",
"android.hardware.power.stats@1.0",
diff --git a/src/android_internal/BUILD.gn b/src/android_internal/BUILD.gn
index ed01121..5843748 100644
--- a/src/android_internal/BUILD.gn
+++ b/src/android_internal/BUILD.gn
@@ -37,7 +37,7 @@
]
libs = [
"android.hardware.health@2.0",
- "android.hardware.health-V1-ndk",
+ "android.hardware.health-V2-ndk",
"android.hardware.power.stats@1.0",
"android.hardware.power.stats-V1-cpp",
"android.hardware.atrace@1.0",
diff --git a/tools/gen_android_bp b/tools/gen_android_bp
index 48a3e08..e8a5677 100755
--- a/tools/gen_android_bp
+++ b/tools/gen_android_bp
@@ -125,7 +125,7 @@
'android',
'android.hardware.atrace@1.0',
'android.hardware.health@2.0',
- 'android.hardware.health-V1-ndk',
+ 'android.hardware.health-V2-ndk',
'android.hardware.power.stats@1.0',
"android.hardware.power.stats-V1-cpp",
'base',