LG8n: Switch to AIDL vibrator

Change-Id: I9b1ad902c6a34cd9916c06f586e8bf664a08aae1
Signed-off-by: xyzuniverse <dev.xyzuniverse@gmail.com>
Signed-off-by: fjrXTR <fajarslebew31@gmail.com>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
This commit is contained in:
xyzuniverse 2024-07-26 12:37:35 +08:00 committed by Shirayuki39
parent 8d24cb6823
commit daba6d1241
3 changed files with 4 additions and 12 deletions

View file

@ -502,6 +502,10 @@ PRODUCT_PACKAGES += \
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \
libui_shim.vendor libui_shim.vendor
# Vibrator
PRODUCT_PACKAGES += \
android.hardware.vibrator-service.mediatek
# Wi-Fi # Wi-Fi
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \
libwifi-hal-wrapper \ libwifi-hal-wrapper \

View file

@ -59,9 +59,6 @@ function blob_fixup {
vendor/lib*/mediadrm/libwvdrmengine.so) vendor/lib*/mediadrm/libwvdrmengine.so)
"${PATCHELF}" --replace-needed "libprotobuf-cpp-lite-3.9.1.so" "libprotobuf-cpp-full-3.9.1.so" "${2}" "${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) 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}" "$PATCHELF" --replace-needed "android.hardware.light-V1-ndk_platform.so" "android.hardware.light-V1-ndk.so" "${2}"
;; ;;

View file

@ -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/init/android.hardware.usb@1.2-service-mediatekv2.rc
vendor/etc/vintf/manifest/android.hardware.usb@1.2-service-mediatekv2.xml 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 # Wi-Fi
vendor/bin/wlan_assistant vendor/bin/wlan_assistant
vendor/bin/netdc vendor/bin/netdc