mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 16:50:18 +00:00
Remove length check to allow empty HDR10+ blobs to HWC
Bug: 212496177 Test: builds Change-Id: Iad121cd6515e826c4b57976b14e7a5eb947b1728
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user