diff options
author | Yifan Hong <elsk@google.com> | 2018-04-27 15:03:32 -0700 |
---|---|---|
committer | Yifan Hong <elsk@google.com> | 2018-07-17 11:57:38 -0700 |
commit | 3a39eec3076d296d550c4eb57590cf7fb0f06bd3 (patch) | |
tree | acf92b62453ecc5ead5e05bcd97429086cfbe33e /healthd | |
parent | 6705b6c7cd735a388bf8e3c85b7f323cbe5544af (diff) | |
download | system_core-3a39eec3076d296d550c4eb57590cf7fb0f06bd3.tar.gz system_core-3a39eec3076d296d550c4eb57590cf7fb0f06bd3.tar.bz2 system_core-3a39eec3076d296d550c4eb57590cf7fb0f06bd3.zip |
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)
Diffstat (limited to 'healthd')
-rw-r--r-- | healthd/Android.bp | 12 | ||||
-rw-r--r-- | healthd/manifest_healthd.xml | 11 |
2 files changed, 14 insertions, 9 deletions
diff --git a/healthd/Android.bp b/healthd/Android.bp index cefe09d5e..49d53503b 100644 --- a/healthd/Android.bp +++ b/healthd/Android.bp @@ -60,15 +60,6 @@ cc_binary { } 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 @@ cc_binary { "android.hardware.health@2.0", ], + vintf_fragments: [ + "manifest_healthd.xml" + ], } diff --git a/healthd/manifest_healthd.xml b/healthd/manifest_healthd.xml new file mode 100644 index 000000000..097a7d87a --- /dev/null +++ b/healthd/manifest_healthd.xml @@ -0,0 +1,11 @@ +<manifest version="1.0" type="framework"> + <hal> + <name>android.hardware.health</name> + <transport>hwbinder</transport> + <version>2.0</version> + <interface> + <name>IHealth</name> + <instance>backup</instance> + </interface> + </hal> +</manifest> |