From daba6d124151c67ef162e1c2b0d8c6e09d145e16 Mon Sep 17 00:00:00 2001 From: xyzuniverse Date: Fri, 26 Jul 2024 12:37:35 +0800 Subject: [PATCH] LG8n: Switch to AIDL vibrator Change-Id: I9b1ad902c6a34cd9916c06f586e8bf664a08aae1 Signed-off-by: xyzuniverse Signed-off-by: fjrXTR Signed-off-by: Shirayuki39 --- device.mk | 4 ++++ extract-files.sh | 3 --- proprietary-files.txt | 9 --------- 3 files changed, 4 insertions(+), 12 deletions(-) diff --git a/device.mk b/device.mk index 1170565..cd8919a 100644 --- a/device.mk +++ b/device.mk @@ -502,6 +502,10 @@ PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \ libui_shim.vendor +# Vibrator +PRODUCT_PACKAGES += \ + android.hardware.vibrator-service.mediatek + # Wi-Fi PRODUCT_PACKAGES += \ libwifi-hal-wrapper \ diff --git a/extract-files.sh b/extract-files.sh index 2c8c541..b776018 100755 --- a/extract-files.sh +++ b/extract-files.sh @@ -59,9 +59,6 @@ function blob_fixup { vendor/lib*/mediadrm/libwvdrmengine.so) "${PATCHELF}" --replace-needed "libprotobuf-cpp-lite-3.9.1.so" "libprotobuf-cpp-full-3.9.1.so" "${2}" ;; - vendor/bin/hw/android.hardware.vibrator-service.mediatek) - "$PATCHELF" --replace-needed "android.hardware.vibrator-V2-ndk_platform.so" "android.hardware.vibrator-V2-ndk.so" "${2}" - ;; vendor/bin/hw/android.hardware.lights-service.mediatek) "$PATCHELF" --replace-needed "android.hardware.light-V1-ndk_platform.so" "android.hardware.light-V1-ndk.so" "${2}" ;; diff --git a/proprietary-files.txt b/proprietary-files.txt index 89d0e1d..1248024 100644 --- a/proprietary-files.txt +++ b/proprietary-files.txt @@ -3035,15 +3035,6 @@ vendor/bin/hw/android.hardware.usb@1.2-service-mediatekv2 vendor/etc/init/android.hardware.usb@1.2-service-mediatekv2.rc vendor/etc/vintf/manifest/android.hardware.usb@1.2-service-mediatekv2.xml -# Vibrator -vendor/bin/hw/android.hardware.vibrator-service.mediatek -vendor/lib/hw/vibrator.default.so -vendor/lib/libvibrator.so -vendor/lib64/hw/vibrator.default.so -vendor/lib64/libvibrator.so -vendor/etc/vintf/manifest/vibrator-mtk-default.xml -vendor/etc/init/vibrator-mtk-default.rc - # Wi-Fi vendor/bin/wlan_assistant vendor/bin/netdc