From 4c3d648f9237b858ed843f14aa0e5bdebe7a9d83 Mon Sep 17 00:00:00 2001 From: johnmart19 Date: Thu, 19 Jun 2025 08:10:01 +0300 Subject: [PATCH] sm8250-common: Add libaudioclient_shim for libwfdservice Android 16 compilation error: libwfdservice.so: error: Unresolved symbol: _ZN7android11AudioSystem24setDeviceConnectionStateE24audio_policy_dev_state_tRKNS_5media5audio6common9AudioPortE14audio_format_t libwfdservice.so: note: libwfdservice.so: note: Some dependencies might be changed, thus the symbol(s) above cannot be resolved. libwfdservice.so: note: Please re-build the prebuilt file: "out/soong/.intermediates/vendor/xiaomi/sm8250-common/libwfdservice/android_arm64_armv8-2a-dotprod_cortex-a76_shared/libwfdservice.so". libwfdservice.so: note: libwfdservice.so: note: If this is a new prebuilt file and it is designed to have unresolved symbols, add one of the following properties: libwfdservice.so: note: Android.bp: allow_undefined_symbols: true, libwfdservice.so: note: Android.mk: LOCAL_ALLOW_UNDEFINED_SYMBOLS := true --- Android.bp | 1 + 1 file changed, 1 insertion(+) diff --git a/Android.bp b/Android.bp index a33b92b..39097fd 100644 --- a/Android.bp +++ b/Android.bp @@ -13442,6 +13442,7 @@ cc_prebuilt_library_shared { "proprietary/system_ext/lib64/libwfdservice.so", ], shared_libs: [ + "libaudioclient_shim", "liblog", "libutils", "libcutils",