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.
Google 會運用 AI 技術將內容翻譯成你偏好的語言,但可能會出錯。
設定基礎架構
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
設定基礎架構模組包含基礎架構程式碼,可讓平台和模組使用功能標記。這段程式碼目前位於 frameworks/base 中。Android 14 並未規劃任何新功能。
動機
- 更快疊代基礎架構程式碼。平台和 Mainline 模組開發人員可更快享有更優質的功能。
- 功能旗標功能的統一解決方案。
- 新功能可支援更多裝置。舉例來說,在 Android 15 時間範圍內完成的工作,甚至可以在 OTA 之前套用至 14 部裝置。
模組邊界
在 Android 14 中,我們將 frameworks/base/core/java/android/provider/DeviceConfig.java (和密切相關的類別) 移至這個模組。我們也計畫將設定持續性邏輯移至這個模組。
設定基礎架構模組採用 APEX 格式。
依附元件
無。
自訂
你無法自訂這個模組。
這個頁面中的內容和程式碼範例均受《內容授權》中的授權所規範。Java 與 OpenJDK 是 Oracle 和/或其關係企業的商標或註冊商標。
上次更新時間: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"]],["上次更新時間:2026-09-15 (世界標準時間)。"],[],[]]