healthd use vintf_fragments
This encourages device manufacturers to use
service.override over service and to remove healthd
on device, because it is one less step to do.
Test: make VINTF metadata
Bug: 66917623
Bug: 77541952
Bug: 79107699
Change-Id: I1cac3570f64a0308b1f2d465205f98a97e4b4320
Merged-In: I1cac3570f64a0308b1f2d465205f98a97e4b4320
(cherry picked from commit 2db565d75f81031ea0dfe5693ab0fe02714c2b88)
diff --git a/healthd/Android.bp b/healthd/Android.bp
index cefe09d..49d5350 100644
--- a/healthd/Android.bp
+++ b/healthd/Android.bp
@@ -60,15 +60,6 @@
}
cc_binary {
- name: "android.hardware.health@2.0-service.override",
- defaults: ["android.hardware.health@2.0-service_defaults"],
-
- overrides: [
- "healthd",
- ],
-}
-
-cc_binary {
name: "healthd",
init_rc: ["healthd.rc"],
srcs: [
@@ -101,4 +92,7 @@
"android.hardware.health@2.0",
],
+ vintf_fragments: [
+ "manifest_healthd.xml"
+ ],
}