LG8n: Switch to Prebuilt Vibrator Stack

Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
This commit is contained in:
Shirayuki39 2024-07-17 07:15:14 +08:00
parent fefb71b596
commit 69fe8e6c1b
3 changed files with 12 additions and 4 deletions

View file

@ -363,10 +363,6 @@ PRODUCT_PACKAGES += \
libhidlbase-v31 \
libbinder-v31
# Vibrator
PRODUCT_PACKAGES += \
android.hardware.vibrator-service.transsion
# Wi-Fi
PRODUCT_PACKAGES += \
wpa_supplicant \

View file

@ -55,6 +55,9 @@ fi
function blob_fixup {
case "$1" in
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.gnss-service.mediatek |\
vendor/lib64/hw/android.hardware.gnss-impl-mediatek.so)
"$PATCHELF" --replace-needed "android.hardware.gnss-V1-ndk_platform.so" "android.hardware.gnss-V1-ndk.so" "$2"

View file

@ -2710,6 +2710,15 @@ vendor/lib64/libforkexecwrap.so
vendor/lib64/libifcutils_mtk.so
vendor/lib64/vendor.mediatek.hardware.netdagent@1.0.so
# 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/etc/init/init.wlan_drv.rc