自 2025 年 3 月 27 日起,我們建議您使用 android-latest-release
而非 aosp-main
建構及貢獻 AOSP。詳情請參閱「Android 開放原始碼計畫變更」。
Android Automotive 25Q2
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
Google 很高興能與 Android Automotive 合作夥伴分享這項 Android 25Q2 版本。Android 16 的 Android Automotive 25Q2 版本符合規定。我們將持續微調各項功能,目標是為 OEM 推薦即將推出的版本。
版本詳細資訊
本節將摘要說明 AAOS B 版提供的主要功能和強化項目。
這些更新適用於 Android16
,API 級別 36。
Android Automotive 25Q2 版本符合 Android 16 規範。
新功能
25Q2 版本提供這些新功能。
AAOS 架構
音訊和電台:
音訊控制 HAL 改進:如要設定車輛音訊功能,請使用 API,而非 XML 檔案。
高畫質 (HD) 電台緊急警報系統 (EAS):透過 API 將 EAS 資訊傳遞至電台應用程式。這適用於 HD Radio (北美) 和 DAB EWS (歐盟)。
AAudio 內建程式庫: AAudio AAudio 支援 OEM 定義的音訊屬性標記,可自訂應用程式行為。例如音訊路徑和音量管理。
電源管理:
- 向內建程序發送電源狀態通知:擴大向 OEM 內建程序 (Android 應用程式以外) 發送電源狀態通知的範圍。
車輛架構:
- 動態設定車輛屬性:支援動態設定車輛屬性的最小值、最大值和支援值。
連線能力
網路:
精簡電話通訊:Android 電話通訊硬體抽象層 (HAL) 的子集,適用於汽車原始設備製造商,可讓原始設備製造商在僅限資料的裝置 (包括 TCU) 上使用 Android 電話通訊。這可減少片段化,並支援電話功能。
連線訊息加購 API:強化 SubscriptionManager,提供可公開使用者行動數據訂閱狀態的 API。例如 active
、inactive
、trial
和到期日。
投影應用程式支援:新增支援功能,讓車輛原始設備製造商 (OEM) 設定 Android API 無法提供的完整 hostapd.conf
參數。在 SoftApCallback API 中新增中斷連線原因,讓 OEM 瞭解用戶端與本機熱點 (LOHS) 中斷連線的原因。這些功能可改善投影應用程式的支援,並減少片段化。
Android Automotive OS 系統 UI 和體驗
- 可擴充的使用者介面:這個 AAOS 視窗架構提供可設定的元件,讓原始設備製造商滿足視窗需求,並提供自訂體驗。
VHAL 屬性
法規遵循
Android 規範是在內部參考硬體上執行。這個版本執行的測試套件包括 CTS、CTS-V、ATS、STS、VTS 和 CTS on GSI。
除了下列問題,目前沒有已知失敗需要修正 Android 16 程式碼 (android16-release
) 或 Android 16 測試分支 (android16-tests-dev
)。
測試失敗:
CtsWindowManagerJetpackTestCases#MultiDisplayActivityEmbeddingPlaceholderTests
錯誤摘要:直向螢幕顯示器有一項測試失敗。在以視窗解決方案為基礎的可擴充 UI 建構版本中測試 Activity 嵌入行為時,如果涉及多個根工作 (每個工作都是 WINDOWING_MODE_MULTI_WINDOW
),就會發生已知失敗情形,因為有些活動的啟動範圍小於預期,如嵌入規則中的 windowMetrics
所示。因此,在次要螢幕上啟動活動時,系統會啟動預留位置,導致測試失敗。
aosp/3659633 修補程式可修正多視窗 rootTask
的視窗模式繼承問題。
測試失敗:CtsAutoFillServiceTestCases
失敗摘要:根據涉及多個根工作 (每個根工作都具有以下特徵) 的視窗解決方案,可擴充式 UI 建構版本會發生兩類已知問題:
WINDOWING_MODE_MULTI_WINDOW
這個頁面中的內容和程式碼範例均受《內容授權》中的授權所規範。Java 與 OpenJDK 是 Oracle 和/或其關係企業的商標或註冊商標。
上次更新時間:2025-07-29 (世界標準時間)。
[[["容易理解","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"]],["上次更新時間:2025-07-29 (世界標準時間)。"],[],[],null,["# Android Automotive 25Q2\n\n| **Important:** The following content is not final and is subject to change.\n\nGoogle is pleased to share this Android **25Q2** release with Android Automotive\npartners. For Android 16, this Android Automotive 25Q2 release is compliant. We\ncontinue to fine tune features, aiming to recommend an upcoming release for\nOEMs.\n\nRelease details\n---------------\n\nThis section summarizes major features and enhancements provided in the AAOS B\nrelease.\n\nThese updates apply to `Android16`, [API level 36](/docs/setup/reference/build-numbers).\n\nThe Android Automotive 25Q2 release is compliant with Android 16.\n\n### New features\n\nThe 25Q2 release provides these new features.\n\n#### AAOS Framework\n\n- Audio and radio:\n\n - **Audio control HAL improvements:** To configure car audio features, use\n APIs instead of XML file.\n\n - **High definition (HD) radio Emergency Alert System (EAS):** Pass EAS\n information to radio applications with an API. This applies to HD Radio\n (North America) and DAB EWS (European Union).\n\n - **AAudio built-in library:** [AAudio](/docs/core/audio/aaudio) AAudio supports OEM-defined\n Audio Attributes tags to customize app behavior. For example, audio\n routing and volume management.\n\n- Power management:\n\n - **Power state notifications to built-in processes:** The availability of power state notifications to OEM built-in processes (beyond Android apps) is extended.\n- Car framework:\n\n - **Dynamic configuration of vehicle properties:** Support the dynamic configuration of minimum and maximum and of supported values in vehicle properties.\n\n#### Connectivity\n\n- Networking:\n\n - **Minimal Telephony:** A subset of the Android Telephony Hardware\n Abstraction Layer (HAL) for automotive OEMs to allow OEMs to use Android\n telephony on data-only devices (including TCUs). This reduces\n fragmentation and provides support for telephony functionality.\n\n - **Connectivity Messaging Upsell API:** Enhanced [SubscriptionManager](https://developer.android.com/reference/android/telephony/SubscriptionManager)\n to provide APIs that can expose a user's mobile data subscription\n status. For example, `active`, `inactive`, `trial`, and expiration date.\n\n - **Projected app support:** Added support to let automotive OEMs\n configure the complete set of `hostapd.conf` parameters not available\n through the Android APIs. Added a disconnect reason to the\n SoftApCallback API so that OEMs can learn why clients disconnected from\n a Local Hotspot (LOHS). These features improve support for projected\n apps and reduce fragmentation.\n\n#### AAOS System UI and Experiences\n\n- **Scalable UI:** This AAOS windowing framework provides OEMs with configurable components that let OEMs meet windowing requirements and facilitate custom experiences.\n\n#### VHAL properties\n\n- Vehicle properties:\n\n - Added new vehicle properties to communicate vehicle characteristics and\n state.\n\n - Updated vehicle property constants from @SystemApi to public APIs to\n consolidate generated documentation at [VehiclePropertyIDs](https://developer.android.com/reference/android/car/VehiclePropertyIds). Any\n previously defined and documented permissions are still required to\n access vehicle property data.\n\n- **Third party-accessible vehicle properties:** This features makes eight\n existing vehicle properties relevant to navigation, voice assistant,\n weather, and driving state available to third party app developers. To learn\n more, see [Integrate with Google apps and services](https://developer.android.com/training/cars/index.md#intents).\n\n### Compliance\n\nAndroid Compliance was executed on the internal reference hardware. The test\nsuites run for this release include CTS, CTS-V, ATS, STS, VTS and CTS on GSI.\n\nExcept for the issues listed below, no known failures require a fix either in\nAndroid 16 code (`android16-release`) or to the Android 16 test branch\n(`android16-tests-dev`).\n| **Note:** Fixes for known compliance issues are provided below and will be made available in the [Android Open Source Project](https://android-review.googlesource.com/q/hashtag:%22aaos-25q2-cts%22+(status:open+OR+status:merged)) when we publish the next release. We aim to recommend an upcoming release.\n\n- Test failing:\n `CtsWindowManagerJetpackTestCases#MultiDisplayActivityEmbeddingPlaceholderTests`\n\n Failure summary: One test fails in portrait display. When testing Activity\n embedding behaviors in Scalable UI builds that are based on windowing\n solutions that involve multiple root tasks each a\n `WINDOWING_MODE_MULTI_WINDOW`, known failures occur due to some activities\n launched in smaller bounds than expected, as in `windowMetrics` of the\n embedding rules. As a result, the placeholder was started and the test\n failed when launching an activity on the secondary display.\n\n The [aosp/3659633](https://android-review.googlesource.com/c/platform/frameworks/base/+/3659633) patch corrects windowing mode inheritance from\n multi-window `rootTask`.\n- Test failing: `CtsAutoFillServiceTestCases`\n\n Failure summary: Two categories of known issues occur in the Scalable UI\n builds based on windowing solutions that involve multiple root tasks each of\n `WINDOWING_MODE_MULTI_WINDOW`:\n - IME covers the Autofill fill dialog that prevents the buttons on the\n fill dialog from being pressed. You can temporarily disable the fill\n dialog with this platform [ag/3664131](https://android-review.googlesource.com/c/platform/frameworks/base/+/3664131) patch.\n\n - When the second field is auto-filled, such as `PASSWORD`, the\n `LoginActivity` is behind `decor_grip`, and loses the input focus.\n Patches can be found in the following links: [ag/3679541](https://android-review.googlesource.com/c/platform/packages/services/Car/+/3679541),\n [ag/3675628](https://android-review.googlesource.com/c/platform/frameworks/base/+/3675628), [ag/3675627](https://android-review.googlesource.com/c/platform/frameworks/base/+/3675627)."]]