Merge "VintfObject.getHalNamesAndVersions report AIDL version number." am: c39842abd9 am: 6b6d1da5f3

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1832955

Change-Id: I5bc4276a17a93a1bc7ee837c078a1c0bf6bce11a
This commit is contained in:
Treehugger Robot
2021-09-24 01:39:56 +00:00
committed by Automerger Merge Worker

View File

@@ -97,8 +97,11 @@ public class VintfObject {
* ["android.hidl.manager@1.0", "android.hardware.camera.device@1.0",
* "android.hardware.camera.device@3.2"]. There are no duplicates.
*
* For AIDL HALs, the version is stripped away
* (e.g. "android.hardware.light").
* For AIDL HALs, the version is a single number
* (e.g. "android.hardware.light@1"). Historically, this API strips the
* version number for AIDL HALs (e.g. "android.hardware.light"). Users
* of this API must be able to handle both for backwards compatibility.
*
* @hide
*/
@TestApi