diff --git a/device.mk b/device.mk index dc2f25c..45a0c24 100644 --- a/device.mk +++ b/device.mk @@ -474,6 +474,9 @@ PRODUCT_PACKAGES += \ libunwindstack.vendor \ libutilscallstack.vendor +PRODUCT_PACKAGES += \ + libui_shim.vendor + # Wi-Fi PRODUCT_PACKAGES += \ libwifi-hal-wrapper \ diff --git a/extract-files.sh b/extract-files.sh index 819b19e..3ab4f44 100755 --- a/extract-files.sh +++ b/extract-files.sh @@ -123,6 +123,9 @@ function blob_fixup { vendor/lib64/mt6789/libcam.utils.sensorprovider.so) "${PATCHELF}" --add-needed "libshim_sensors.so" "${2}" ;; + lib64/libsource.so) + grep -q libui_shim.so "$2" || "$PATCHELF" --add-needed libui_shim.so "$2" + ;; esac }