Effective in 2026, to align with our trunk stable development model and ensure platform stability for the ecosystem, we will publish source code to AOSP in Q2 and Q4. For building and contributing to AOSP, use android-latest-release. The android-latest-release manifest branch will always reference the most recent release pushed to AOSP. For more information, see Changes to AOSP.
配置基础架构
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
配置基础架构模块包含可让平台和模块使用功能标志的基础架构代码。此代码目前存在于 frameworks/base 中。我们没有计划在 Android 14 中推出任何新功能。
设计初衷
- 更快地迭代基础架构代码。平台和 Mainline 模块开发者可以更快地受益于更多、更出色的功能。
- 提供统一的功能标志解决方案。
- 新功能可以覆盖更多设备。例如,在 Android 15 时间范围内完成的工作甚至在 OTA 之前就能应用于 Android 14 设备。
模块边界
对于 Android 14,我们会将 frameworks/base/core/java/android/provider/DeviceConfig.java(以及密切相关的类)移至此模块。我们还计划将配置持久性逻辑移至此模块。
Config Infrastructure 模块采用 APEX 格式。
依赖项
无。
自定义
您无法自定义此模块。
本页面上的内容和代码示例受内容许可部分所述许可的限制。Java 和 OpenJDK 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2026-09-15。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["没有我需要的信息","missingTheInformationINeed","thumb-down"],["太复杂/步骤太多","tooComplicatedTooManySteps","thumb-down"],["内容需要更新","outOfDate","thumb-down"],["翻译问题","translationIssue","thumb-down"],["示例/代码问题","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2026-09-15。"],[],[]]