aboutsummaryrefslogtreecommitdiff
path: root/zh-cn/devices/tech/health/implementation.html
diff options
context:
space:
mode:
Diffstat (limited to 'zh-cn/devices/tech/health/implementation.html')
-rw-r--r--zh-cn/devices/tech/health/implementation.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/zh-cn/devices/tech/health/implementation.html b/zh-cn/devices/tech/health/implementation.html
index 5e05a341..083a3479 100644
--- a/zh-cn/devices/tech/health/implementation.html
+++ b/zh-cn/devices/tech/health/implementation.html
@@ -36,7 +36,7 @@
<li>在广泛推出 IHealth/default 实例且弃用 Android 8.1 供应商映像后,就可以弃用 IHealth/backup 实例和 <code>healthd</code> 了。如需了解详情,请参阅<a href="/devices/tech/health/deprecation">弃用 health@1.0</a>。</li>
</ol>
-<h2 id="board_specific_build_variables_for_healthd">针对 healthd 的板级编译变量</h2>
+<h2 id="board-specific_build_variables_for_healthd">针对 healthd 的板级编译变量</h2>
<p><code>BOARD_PERIODIC_CHORES_INTERVAL_*</code> 是用于编译 <code>healthd</code> 的板级变量。板级值用于分隔系统编译部分和供应商编译部分,<strong>无法</strong>针对系统模块定义进行定义。在 health@2.0 中,供应商可以在 <code>healthd_mode_ops-&gt;init</code> 中覆盖这两个值(方法是弃用 <code>health@2.0-service.&lt;device&gt;</code> 中的 <code>libhealthservice</code> 依赖项并重新实现此函数)。</p>
@@ -82,7 +82,7 @@ int main() { return health_service_main(); }
<li><p>更新必要的 SELinux 权限。</p></li>
</ul>
-<p>如需了解详情,请参阅 <a href="https://android.googlesource.com/platform/hardware/interfaces/+/master/health/2.0/README">hardware/interfaces/health/2.0/README</a>。</p>
+<p>如需了解详情,请参阅 <a href="https://android.googlesource.com/platform/hardware/interfaces/+/master/health/2.0/README.md" class="external">hardware/interfaces/health/2.0/README.md</a>。</p>
<h2 id="health_clients">Health 客户端</h2>