mirror of
https://github.com/Anything-at-25-00/android_device_tecno_LG8n.git
synced 2024-11-22 13:46:26 -08:00
LG8n: power: Remove ndk_platform backend. Use ndk backend instead
The ndk_platform backend will soon be deprecated because the ndk backend can serve the same purpose. This is to eliminate the confusion about having two variants (ndk and ndk_platform) for the same ndk backend. Bug: 161456198 Test: m 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:
parent
d5053cc537
commit
7d59c4396b
|
@ -306,9 +306,7 @@ PRODUCT_COPY_FILES += \
|
|||
# Power
|
||||
PRODUCT_PACKAGES += \
|
||||
android.hardware.power-service-mediatek \
|
||||
android.hardware.power-V2-ndk_platform.vendor \
|
||||
android.hardware.power@1.0.vendor \
|
||||
android.hardware.power@1.1.vendor \
|
||||
android.hardware.power-V2-ndk.vendor \
|
||||
android.hardware.power@1.2.vendor \
|
||||
libmtkperf_client_vendor \
|
||||
vendor.mediatek.hardware.mtkpower@1.0.vendor \
|
||||
|
|
|
@ -73,6 +73,9 @@ function blob_fixup {
|
|||
vendor/lib*/hw/mt6789/vendor.mediatek.hardware.pq@2.15-impl.so)
|
||||
"$PATCHELF" --replace-needed "libutils.so" "libutils-v32.so" "$2"
|
||||
;;
|
||||
vendor/bin/hw/vendor.mediatek.hardware.mtkpower@1.0-service)
|
||||
"${PATCHELF}" --replace-needed "android.hardware.power-V2-ndk_platform.so" "android.hardware.power-V2-ndk.so" "${2}"
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue