commit | 2b42a74573b5cacf56a0ded0a81291909de3ae1e | [log] [tgz] |
---|---|---|
author | Sally Qi <sallyqi@google.com> | Fri Jan 13 18:24:15 2023 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Fri Jan 13 18:24:15 2023 +0000 |
tree | 800bb2b6c6576f5975b28e09eadb55756da397cb | |
parent | 32ca32b4435297c9c5d162db202ae296ed7f2a8e [diff] | |
parent | 2060a4e647602eeeb15596a7e63716dd205b6dc1 [diff] |
Merge "Remove length check to allow empty HDR10+ blobs to HWC"
diff --git a/graphics/composer/2.3/utils/hal/include/composer-hal/2.3/ComposerCommandEngine.h b/graphics/composer/2.3/utils/hal/include/composer-hal/2.3/ComposerCommandEngine.h index 02f6212..f1d61f8 100644 --- a/graphics/composer/2.3/utils/hal/include/composer-hal/2.3/ComposerCommandEngine.h +++ b/graphics/composer/2.3/utils/hal/include/composer-hal/2.3/ComposerCommandEngine.h
@@ -73,9 +73,7 @@ } 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; }