zeus: Rename audio.primary.taro to audio.primary.taro-zeus to avoid conflicts

Change-Id: I1d7012df4acc1e3b9180eb8523ebe77ffc8a35e9
This commit is contained in:
Arian 2024-08-29 19:00:40 +02:00 committed by Bartłomiej Rudecki
parent 1e533f6ce2
commit 167276f766
3 changed files with 10 additions and 1 deletions

View file

@ -14,6 +14,9 @@ function blob_fixup() {
vendor/etc/camera/pureShot_parameter.xml|vendor/etc/camera/pureView_parameter.xml) vendor/etc/camera/pureShot_parameter.xml|vendor/etc/camera/pureView_parameter.xml)
sed -i 's/=\([0-9]\+\)>/="\1">/g' "${2}" sed -i 's/=\([0-9]\+\)>/="\1">/g' "${2}"
;; ;;
vendor/lib64/hw/audio.primary.taro-zeus.so)
"${PATCHELF_0_17_2}" --set-soname "audio.primary.taro-zeus.so" "${2}"
;;
vendor/lib64/hw/fingerprint.goodix_fod.default.so) vendor/lib64/hw/fingerprint.goodix_fod.default.so)
"${PATCHELF_0_17_2}" --set-soname "fingerprint.goodix_fod.default.so" "${2}" "${PATCHELF_0_17_2}" --set-soname "fingerprint.goodix_fod.default.so" "${2}"
;; ;;
@ -23,6 +26,9 @@ function blob_fixup() {
vendor/lib64/libcamximageformatutils.so) vendor/lib64/libcamximageformatutils.so)
"${PATCHELF_0_17_2}" --replace-needed "vendor.qti.hardware.display.config-V2-ndk_platform.so" "vendor.qti.hardware.display.config-V2-ndk.so" "${2}" "${PATCHELF_0_17_2}" --replace-needed "vendor.qti.hardware.display.config-V2-ndk_platform.so" "vendor.qti.hardware.display.config-V2-ndk.so" "${2}"
;; ;;
vendor/lib64/libkaraokepal.so)
"${PATCHELF_0_17_2}" --replace-needed "audio.primary.taro.so" "audio.primary.taro-zeus.so" "${2}"
;;
vendor/lib64/libSnpeCpu.so) vendor/lib64/libSnpeCpu.so)
"${PATCHELF_0_17_2}" --set-soname "libSnpeCpu.so" "${2}" "${PATCHELF_0_17_2}" --set-soname "libSnpeCpu.so" "${2}"
;; ;;

View file

@ -1,3 +1,6 @@
# Audio
ro.hardware.audio.primary=taro-zeus
# Sensors # Sensors
ro.vendor.sensors.notifier.light_sensors.primary=5,33171089 ro.vendor.sensors.notifier.light_sensors.primary=5,33171089
ro.vendor.sensors.xiaomi.udfps=true ro.vendor.sensors.xiaomi.udfps=true

View file

@ -111,7 +111,7 @@ vendor/lib64/libmisight.so
vendor/etc/models/acd/event.eai vendor/etc/models/acd/event.eai
vendor/etc/models/acd/music.eai vendor/etc/models/acd/music.eai
vendor/etc/models/acd/speech.eai vendor/etc/models/acd/speech.eai
vendor/lib64/hw/audio.primary.taro.so vendor/lib64/hw/audio.primary.taro.so:vendor/lib64/hw/audio.primary.taro-zeus.so
vendor/lib64/hw/gyro_fusion_interface.so vendor/lib64/hw/gyro_fusion_interface.so
vendor/lib64/libadm.so vendor/lib64/libadm.so
vendor/lib64/libadsprpc.so vendor/lib64/libadsprpc.so