LG8n: Switch to Prebuilt Lights Stack

Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
This commit is contained in:
Shirayuki39 2024-07-17 07:16:56 +08:00
parent 69fe8e6c1b
commit f0f7db7bad
3 changed files with 9 additions and 1 deletions

View file

@ -206,7 +206,7 @@ PRODUCT_PACKAGES += \
# Lights # Lights
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \
android.hardware.lights-service.transsion android.hardware.light-V1-ndk.vendor
# Media # Media
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \

View file

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

View file

@ -2396,6 +2396,11 @@ vendor/etc/init/android.hardware.security.keymint-service.trustonic.rc
-vendor/etc/vintf/manifest/android.hardware.security.secureclock-service.trustonic.xml -vendor/etc/vintf/manifest/android.hardware.security.secureclock-service.trustonic.xml
-vendor/etc/vintf/manifest/android.hardware.security.sharedsecret-service.trustonic.xml -vendor/etc/vintf/manifest/android.hardware.security.sharedsecret-service.trustonic.xml
# Lights
vendor/bin/hw/android.hardware.lights-service.mediatek
vendor/etc/init/lights-mtk-default.rc
vendor/etc/vintf/manifest/lights-mtk-default.xml
# Media # Media
vendor/bin/mt6789/v3avpud.mt6789 vendor/bin/mt6789/v3avpud.mt6789
vendor/etc/init/v3avpud.rc vendor/etc/init/v3avpud.rc