From 44956f2df830f464f0ec75955b8eddf30162c099 Mon Sep 17 00:00:00 2001 From: Yongqin Liu Date: Mon, 26 Feb 2024 12:19:41 +0800 Subject: c2: set c2inputsurface to -1 set it the same as cuttlefish, and it helps workaround after the drop of OMX service. Refer to the cuttlefish change here: https://android-review.googlesource.com/c/device/google/cuttlefish/+/1562801 Fixes: f02f9af6b011 ("manifest.xml: Remove OMX from device manifest") Test: cts -m CtsCameraTestCases -t android.hardware.camera2.cts.RecordingTest Change-Id: I1063c40fe7a97857468c616ed8809ba71831bc5b Signed-off-by: Yongqin Liu --- device-common.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/device-common.mk b/device-common.mk index fb3de7e..886f9e5 100644 --- a/device-common.mk +++ b/device-common.mk @@ -94,3 +94,7 @@ PRODUCT_COPY_FILES += \ device/linaro/dragonboard/init.common.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.$(TARGET_HARDWARE).rc \ device/linaro/dragonboard/init.common.usb.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.$(TARGET_HARDWARE).usb.rc \ frameworks/base/data/keyboards/Generic.kl:$(TARGET_COPY_OUT_VENDOR)/usr/keylayout/$(TARGET_HARDWARE).kl + +# Workaround for the drop of OMX service +PRODUCT_VENDOR_PROPERTIES += \ + debug.stagefright.c2inputsurface=-1 -- cgit v1.2.3