配置基础架构
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
配置基础架构模块包含可让平台和模块使用功能标志的基础架构代码。此代码目前存在于 frameworks/base
中。我们没有计划在 Android 14 中推出任何新功能。
设计初衷
- 更快地迭代基础架构代码。平台和 Mainline 模块开发者可以更快地受益于更多、更出色的功能。
- 提供统一的功能标志解决方案。
- 新功能可以覆盖更多设备。例如,在 Android 15(AOSP 实验版)时间范围内完成的工作甚至在 OTA 之前就能应用于 Android 14 设备。
模块边界
对于 Android 14,我们会将 frameworks/base/core/java/android/provider/DeviceConfig.java
(以及密切相关的类)移至此模块。我们还计划将配置持久性逻辑移至此模块。
Config Infrastructure 模块采用 APEX 格式。
依赖项
无。
自定义
您无法自定义此模块。
本页面上的内容和代码示例受内容许可部分所述许可的限制。Java 和 OpenJDK 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-05-17。
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"没有我需要的信息"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"太复杂/步骤太多"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"内容需要更新"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻译问题"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"示例/代码问题"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"其他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"易于理解"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"解决了我的问题"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"其他"
}]
{
"last_modified": "最后更新时间 (UTC):2024-05-17。",
"state": ""
}