Deprecate HIDL health storage HAL.

If a device launching with S VINTF uses health storage HAL,
it must use AIDL. If HIDL health storage HAL is used,
a build error will occur to complain about deprecated HALs.

Test: manual test that if the HIDL HAL is served on cuttlefish, then
      `m check-vintf-all` shows the following error:

android.hardware.health.storage@1.0::IStorage/default is deprecated
in compatibility matrix at FCM Version 6; it should not be served.

Bug: 177470478
Change-Id: I3c28352f5f8d491ed0e1f9292b80d2083699f829
This commit is contained in:
Yifan Hong
2021-01-20 20:21:49 -08:00
parent 5d62b1774b
commit da86cdbf03

View File

@@ -258,14 +258,6 @@
<instance>default</instance>
</interface>
</hal>
<hal format="hidl" optional="true">
<name>android.hardware.health.storage</name>
<version>1.0</version>
<interface>
<name>IStorage</name>
<instance>default</instance>
</interface>
</hal>
<hal format="aidl" optional="true">
<name>android.hardware.health.storage</name>
<version>1</version>