diff options
Diffstat (limited to 'en/devices/tech/health/deprecation.md')
-rw-r--r-- | en/devices/tech/health/deprecation.md | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/en/devices/tech/health/deprecation.md b/en/devices/tech/health/deprecation.md index fcaf711f..9a31cd5b 100644 --- a/en/devices/tech/health/deprecation.md +++ b/en/devices/tech/health/deprecation.md @@ -49,21 +49,21 @@ To do so: 1. Remove `healthd` and `healthd.rc` from the system image by adding the following line to the device-specific implementation in Soong: - ``` - cc_binary { - name: "android.hardware.health@2.0-service.device_name" - overrides: ["healthd"], - // ... - } - ``` - - Or, if the module is in Make: - - ```yaml - LOCAL_MODULE_NAME := \ - android.hardware.health@2.0-service.device_name - LOCAL_OVERRIDES_MODULES := healthd - ``` + ``` + cc_binary { + name: "android.hardware.health@2.0-service.device_name" + overrides: ["healthd"], + // ... + } + ``` + + Or, if the module is in Make: + + ```yaml + LOCAL_MODULE_NAME := \ + android.hardware.health@2.0-service.device_name + LOCAL_OVERRIDES_MODULES := healthd + ``` If the default implementation `android.hardware.health@2.0-service` is installed, implement a device-specific |