Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2b42a745 authored by Sally Qi's avatar Sally Qi Committed by Gerrit Code Review
Browse files

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

parents 32ca32b4 2060a4e6
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -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;
        }