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 02f62127bd..f1d61f84c2 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 @@ 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; }