commit | fc2ddbfcf7c8eddb03b4820095a494f572d1dbbd | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Thu Jul 29 16:52:34 2021 -0700 |
committer | Steven Moreland <smoreland@google.com> | Fri Jul 30 16:36:08 2021 +0000 |
tree | e9adb0853b4a5bab9e694ec447503572ec3804ab | |
parent | 2cb8ecdf6a135360a8141f17f0f0db772e6f81a0 [diff] |
.hash files can have multiple hashes I have wanted this since the beginning :) HIDL interfaces have benefited from supporting this repeatedly. Although we encounter the problem a lot less in AIDL, since we already allow backwards compatible new versions, and we don't have comments in aidl_api files, there are two cases where we have hit this recently: - a late backwards compatible change to the biometrics face AIDL HAL (changing a type to be @nullable). While this doesn't affect the wire protocol or stability over the wire, it does require adding a new hash. So, VTS will fail on old devices that don't have the patch. Late in release, this has caused problems for certain HIDL changes. - we want to add '@hide' to V1 of FMQ, so we need two hashes for it (this is the most straightforward resolution of b/194739778 to decouple the issue from -java-shallow, which is slightly contentious/complex) Of course, THIS SHOULD BE USED AS A SOLUTION OF LAST RESORT! Fixes: 194509098 Test: libaidlmetadata_test Change-Id: Id5080d026e9352dac17e02a1895ae9abfbac030c
Documentation for this project is currently maintained here:
https://source.android.com/devices/architecture/aidl/overview