From e9cf214ca3243a360d2f914604e9a570f4c5c568 Mon Sep 17 00:00:00 2001 From: DeadSomeOne <118965440+DeadSomeOne@users.noreply.github.com> Date: Sat, 6 Jul 2024 19:58:25 +0300 Subject: [PATCH] sdm710-common: Build additional packages Both packages are required for WFD display or it will crash and display the following: E AndroidRuntime: FATAL EXCEPTION: binder:13993_3 E AndroidRuntime: Process: com.qualcomm.wfd.service:wfd_service, PID: 13993 E AndroidRuntime: java.lang.UnsatisfiedLinkError: dlopen failed: library "vendor.qti.hardware.display.config-V5-ndk.so" not found: needed by /system_ext/lib64/libwfddisplayconfig.so in namespace clns-shared-4 E AndroidRuntime: at java.lang.Runtime.loadLibrary0(Runtime.java:1081) E AndroidRuntime: at java.lang.Runtime.loadLibrary0(Runtime.java:1003) E AndroidRuntime: at java.lang.System.loadLibrary(System.java:1765) E AndroidRuntime: at com.qualcomm.wfd.WFDSession.(WFDSession.java:56) E AndroidRuntime: at com.qualcomm.wfd.service.SessionManagerService.setDeviceType(SessionManagerService.java:220) E AndroidRuntime: at com.qualcomm.wfd.service.ISessionManagerService$Stub.onTransact(ISessionManagerService.java:651) E AndroidRuntime: at android.os.Binder.execTransactInternal(Binder.java:1505) E AndroidRuntime: at android.os.Binder.execTransact(Binder.java:1444) F linker : CANNOT LINK EXECUTABLE "/system_ext/bin/wfdservice": library "android.media.audio.common.types-V2-cpp.so" not found: needed by /system_ext/lib/libwfdservice.so in namespace (default) --- sdm710.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sdm710.mk b/sdm710.mk index f642d4e..5039d6e 100644 --- a/sdm710.mk +++ b/sdm710.mk @@ -464,9 +464,11 @@ PRODUCT_COPY_FILES += \ # Wi-Fi Display PRODUCT_PACKAGES += \ + android.media.audio.common.types-V2-cpp \ libnl \ libpng.vendor \ - libwfdaac_vendor + libwfdaac_vendor \ + vendor.qti.hardware.display.config-V5-ndk PRODUCT_BOOT_JARS += \ WfdCommon