miuicamera: Stub out usage of onBufferDetached
Change-Id: Iccc1a89ffd9f374d88ede162d05c65e783a3377b
This commit is contained in:
parent
8ce4f840d5
commit
e33d267db6
Binary file not shown.
Binary file not shown.
@ -55,6 +55,9 @@ fi
|
|||||||
|
|
||||||
function blob_fixup() {
|
function blob_fixup() {
|
||||||
case "${1}" in
|
case "${1}" in
|
||||||
|
system/lib64/libcamera_algoup_jni.xiaomi.so|system/lib64/libcamera_mianode_jni.xiaomi.so)
|
||||||
|
"${PATCHELF}" --add-needed "libgui_shim_miuicamera.so" "${2}"
|
||||||
|
;;
|
||||||
system/lib64/libmicampostproc_client.so)
|
system/lib64/libmicampostproc_client.so)
|
||||||
"${PATCHELF}" --remove-needed "libhidltransport.so" "${2}"
|
"${PATCHELF}" --remove-needed "libhidltransport.so" "${2}"
|
||||||
;;
|
;;
|
||||||
|
@ -18,6 +18,10 @@
|
|||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
vendor/xiaomi/sweet-miuicamera/configs/permissions/privapp-permissions-miuicamera.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/privapp-permissions-miuicamera.xml
|
vendor/xiaomi/sweet-miuicamera/configs/permissions/privapp-permissions-miuicamera.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/privapp-permissions-miuicamera.xml
|
||||||
|
|
||||||
|
# Shims
|
||||||
|
PRODUCT_PACKAGES += \
|
||||||
|
libgui_shim_miuicamera
|
||||||
|
|
||||||
# Sysconfig
|
# Sysconfig
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
vendor/xiaomi/sweet-miuicamera/configs/sysconfig/miuicamera-hiddenapi-package-whitelist.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/sysconfig/miuicamera-hiddenapi-package-whitelist.xml
|
vendor/xiaomi/sweet-miuicamera/configs/sysconfig/miuicamera-hiddenapi-package-whitelist.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/sysconfig/miuicamera-hiddenapi-package-whitelist.xml
|
||||||
|
10
shims/Android.bp
Normal file
10
shims/Android.bp
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
//
|
||||||
|
// Copyright (C) 2022 The LineageOS Project
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
|
//
|
||||||
|
|
||||||
|
cc_library {
|
||||||
|
name: "libgui_shim_miuicamera",
|
||||||
|
srcs: ["libgui_shim_miuicamera.c"],
|
||||||
|
}
|
9
shims/libgui_shim_miuicamera.c
Normal file
9
shims/libgui_shim_miuicamera.c
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (C) 2023 The LineageOS Project
|
||||||
|
*
|
||||||
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
|
void _ZN7android18BnProducerListener16onBufferDetachedEi() {
|
||||||
|
return;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user