composer: AIDL HAL may replace HIDL HAL.

Relax the requirement on compatibility matrices that the HIDL
composer HAL must exist on devices with target level 7 as they
may have the AIDL composer HAL instead. Use
DeviceManifestTest.ComposerHal to enforce the requirement instead.

Bug: b/216514585
Test: vts_treble_vintf_vendor_test
Change-Id: I7fc85b3c8841d9686863ab52c8b5bb88e1f5ee0a
This commit is contained in:
Jason Macnak
2022-01-26 13:16:30 -08:00
parent 653d588e32
commit 50a73bca75

View File

@@ -300,7 +300,10 @@
<instance>default</instance>
</interface>
</hal>
<hal format="hidl" optional="false">
<!-- Either the AIDL or the HIDL composer HAL must exist on the device.
If the HIDL composer HAL exists, it must be at least version 2.1.
See DeviceManifestTest.ComposerHal -->
<hal format="hidl" optional="true">
<name>android.hardware.graphics.composer</name>
<version>2.1-4</version>
<interface>