Merge "Remove length check to allow empty HDR10+ blobs to HWC" am: 2b42a74573 am: a7f01798f5 am: a0442dda02

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2374997

Change-Id: I7907436ae2e0460db31ec033e603442bc1120ab2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Sally Qi 2023-01-13 22:07:13 +00:00 committed by Automerger Merge Worker
commit c0f28978fa

View file

@ -73,9 +73,7 @@ class ComposerCommandEngine : public V2_2::hal::ComposerCommandEngine {
}
bool executeSetLayerPerFrameMetadataBlobs(uint16_t length) {
// must have at least one metadata blob
// of at least size 1 in queue (i.e {/*numBlobs=*/1, key, size, blob})
if (length < 4) {
if (length == 0) {
return false;
}