health: Update README to remove .override [DO NOT MERGE]

The .override module does not have correct rc and
sepolicy file_contexts configured, so let's allow
OEMs to keep healthd. If an OEM does want to remove
healthd they can provide a device-specific
health service impl.

Test: none
Bug: 110228707
Change-Id: I9ba32ae366df4ba58994ef0e3f9eb57cab5626f7
This commit is contained in:
Yifan Hong 2018-06-18 14:39:01 -07:00
parent 79db3ec849
commit eb159af994

View file

@ -6,12 +6,7 @@ Upgrading from health@1.0 HAL
1. If the device does not have a vendor-specific libhealthd AND does not
implement storage-related APIs, just do the following:
1.1 (recommended) To remove healthd from the build,
PRODUCT_PACKAGES += android.hardware.health@2.0-service.override
DEVICE_FRAMEWORK_MANIFEST_FILE += \
system/libhidl/vintfdata/manifest_healthd_exclude.xml
1.2 To keep healthd in the build,
PRODUCT_PACKAGES += android.hardware.health@2.0-service
PRODUCT_PACKAGES += android.hardware.health@2.0-service
Otherwise, continue to Step 2.