Merge "Remove length check to allow empty HDR10+ blobs to HWC" am: 2b42a74573
am: a7f01798f5
am: a0442dda02
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2374997 Change-Id: I7907436ae2e0460db31ec033e603442bc1120ab2 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
c0f28978fa
1 changed files with 1 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue