Remove length check to allow empty HDR10+ blobs to HWC

Bug: 212496177
Test: builds
Change-Id: Iad121cd6515e826c4b57976b14e7a5eb947b1728
This commit is contained in:
Sally Qi
2023-01-03 23:42:32 -08:00
parent a74147236c
commit 2060a4e647

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;
}