LG8n: Switch to prebuilt power-service-mediatek

Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
This commit is contained in:
Shirayuki39 2024-07-26 00:36:05 +08:00
parent e84bfecbd4
commit ae41a104d4
3 changed files with 3 additions and 3 deletions

View file

@ -392,7 +392,6 @@ PRODUCT_COPY_FILES += \
# Power # Power
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \
android.hardware.power-service-mediatek \
android.hardware.power-V2-ndk.vendor \ android.hardware.power-V2-ndk.vendor \
android.hardware.power@1.3.vendor \ android.hardware.power@1.3.vendor \
vendor.mediatek.hardware.mtkpower@1.2.vendor vendor.mediatek.hardware.mtkpower@1.2.vendor

View file

@ -105,8 +105,8 @@ function blob_fixup {
"${PATCHELF}" --replace-needed "libhidlbase.so" "libhidlbase-v31.so" "${2}" "${PATCHELF}" --replace-needed "libhidlbase.so" "libhidlbase-v31.so" "${2}"
"${PATCHELF}" --replace-needed "libutils.so" "libutils-v31.so" "${2}" "${PATCHELF}" --replace-needed "libutils.so" "libutils-v31.so" "${2}"
;; ;;
vendor/bin/hw/vendor.mediatek.hardware.mtkpower@1.0-service) vendor/bin/hw/vendor.mediatek.hardware.mtkpower@1.0-service | vendor/lib64/android.hardware.power-service-mediatek.so)
"${PATCHELF}" --replace-needed "android.hardware.power-V2-ndk_platform.so" "android.hardware.power-V2-ndk.so" "${2}" "${PATCHELF}" --replace-needed "android.hardware.power-V2-ndk_platform.so" "android.hardware.power-V2-ndk.so" "$2"
;; ;;
vendor/lib*/hw/android.hardware.thermal@2.0-impl.so) vendor/lib*/hw/android.hardware.thermal@2.0-impl.so)
"${PATCHELF}" --replace-needed "libutils.so" "libutils-v32.so" "${2}" "${PATCHELF}" --replace-needed "libutils.so" "libutils-v32.so" "${2}"

View file

@ -2797,6 +2797,7 @@ vendor/lib/libmtkperf_client_vendor.so
vendor/lib/vendor.mediatek.hardware.power@2.0.so vendor/lib/vendor.mediatek.hardware.power@2.0.so
vendor/lib64/hw/power.default.so:vendor/lib64/hw/power.mt6789.so vendor/lib64/hw/power.default.so:vendor/lib64/hw/power.mt6789.so
vendor/lib64/hw/vendor.mediatek.hardware.mtkpower@1.2-impl.so vendor/lib64/hw/vendor.mediatek.hardware.mtkpower@1.2-impl.so
vendor/lib64/android.hardware.power-service-mediatek.so
vendor/lib64/libperfctl_vendor.so vendor/lib64/libperfctl_vendor.so
vendor/lib64/libpower_timer.so vendor/lib64/libpower_timer.so
vendor/lib64/libpowerhal.so vendor/lib64/libpowerhal.so