Merge "Remove length check to allow empty HDR10+ blobs to HWC"

This commit is contained in:
Sally Qi
2023-01-13 18:24:15 +00:00
committed by Gerrit Code Review

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