From 27f73f96144099e71eb619d544320bf8af431cbf Mon Sep 17 00:00:00 2001 From: Alexander Winkowski Date: Sun, 14 Jan 2024 09:21:50 +0100 Subject: [PATCH] miuicamera: Improve the shim Change-Id: I415e53e25d0f0ddbc9c1e988d8b65ebdeafe9d6e --- shims/libgui_shim_miuicamera.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shims/libgui_shim_miuicamera.c b/shims/libgui_shim_miuicamera.c index 53adfd1..99bb3c5 100644 --- a/shims/libgui_shim_miuicamera.c +++ b/shims/libgui_shim_miuicamera.c @@ -4,6 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -void _ZN7android18BnProducerListener16onBufferDetachedEi() { - return; +void _ZN7android18BnProducerListener16onBufferDetachedEi(int slot) { + (void)slot; }