VintfObject.getHalNamesAndVersions report AIDL version number.

Tests that rely on this API does not attempt
to parse it, but rather treat this as an opaque
string and upload them.

Test: pass
Bug: 200729012
Change-Id: I025e2602ab506ad009ce48d6329a230f12f1060c
This commit is contained in:
Yifan Hong
2021-09-21 16:00:51 -07:00
parent 4510a23652
commit de452e49af

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