From 913efca8773ff12c560aab042c0dae0916749ce0 Mon Sep 17 00:00:00 2001 From: Luofan Chen Date: Wed, 18 Jan 2023 23:01:48 +0800 Subject: [PATCH] FP5: Define TARGET_GRALLOC_HANDLE_HAS_RESERVED_SIZE Otherwise the error happens: E qdmetadata: Invalid gralloc handle (at 0x7fc743ec58): ver(12/12) ints(23/22) fds(2/2) E qdmetadata: validateAndMap: Private handle is invalid - handle:0x7fc743ec58 Change-Id: Ia62146e8e4bef1342dc964724bd0d088656ad4bc --- BoardConfig.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/BoardConfig.mk b/BoardConfig.mk index 124cf83..e04bf05 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -68,6 +68,7 @@ TARGET_CAMERA_OVERRIDE_FORMAT_FROM_RESERVED := true MAX_VIRTUAL_DISPLAY_DIMENSION := 4096 NUM_FRAMEBUFFER_SURFACE_BUFFERS := 3 TARGET_FORCE_HWC_FOR_VIRTUAL_DISPLAYS := true +TARGET_GRALLOC_HANDLE_HAS_RESERVED_SIZE := true TARGET_HAS_HDR_DISPLAY := true TARGET_HAS_WIDE_COLOR_DISPLAY := true TARGET_SCREEN_DENSITY := 480 -- GitLab