mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 11:36:00 +00:00
Merge "Remove length check to allow empty HDR10+ blobs to HWC" am: 2b42a74573 am: a7f01798f5
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2374997 Change-Id: I95839f054359c31c66c51ce4d55eb0d9994077f3 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -73,9 +73,7 @@ class ComposerCommandEngine : public V2_2::hal::ComposerCommandEngine {
|
|||||||
}
|
}
|
||||||
|
|
||||||
bool executeSetLayerPerFrameMetadataBlobs(uint16_t length) {
|
bool executeSetLayerPerFrameMetadataBlobs(uint16_t length) {
|
||||||
// must have at least one metadata blob
|
if (length == 0) {
|
||||||
// of at least size 1 in queue (i.e {/*numBlobs=*/1, key, size, blob})
|
|
||||||
if (length < 4) {
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user