diff --git a/Android.bp b/Android.bp index 82f1edc..e1a8571 100644 --- a/Android.bp +++ b/Android.bp @@ -1300,7 +1300,7 @@ cc_prebuilt_library_shared { "libcutils", "libutils", "libutilscallstack", - "libalsautils", + "libalsautils-v34", "libhardware_legacy", "libhardware", "libaudioutils", @@ -3250,6 +3250,34 @@ cc_prebuilt_library_shared { soc_specific: true, } +cc_prebuilt_library_shared { + name: "libalsautils-v34", + owner: "xiaomi", + strip: { + none: true, + }, + target: { + android_arm64: { + srcs: [ + "proprietary/vendor/lib64/libalsautils-v34.so", + ], + shared_libs: [ + "libaudioutils", + "libcutils", + "liblog", + "libtinyalsa", + "libc++", + "libc", + "libm", + "libdl", + ], + }, + }, + compile_multilib: "64", + prefer: true, + soc_specific: true, +} + cc_prebuilt_library_shared { name: "libapmonitor_vendor", owner: "xiaomi", diff --git a/klee-vendor.mk b/klee-vendor.mk index 903edf5..16cddfc 100644 --- a/klee-vendor.mk +++ b/klee-vendor.mk @@ -562,7 +562,6 @@ PRODUCT_COPY_FILES += \ vendor/xiaomi/klee/proprietary/vendor/etc/chre/nearby.so:$(TARGET_COPY_OUT_VENDOR)/etc/chre/nearby.so \ vendor/xiaomi/klee/proprietary/vendor/etc/chre/preloaded_nanoapps.json:$(TARGET_COPY_OUT_VENDOR)/etc/chre/preloaded_nanoapps.json \ vendor/xiaomi/klee/proprietary/vendor/etc/default_pd_calibration.bin:$(TARGET_COPY_OUT_VENDOR)/etc/default_pd_calibration.bin \ - vendor/xiaomi/klee/proprietary/vendor/etc/displayconfig/display_id_4627039422300187648.xml:$(TARGET_COPY_OUT_VENDOR)/etc/displayconfig/display_id_4627039422300187648.xml \ vendor/xiaomi/klee/proprietary/vendor/etc/dolby/dax-default-spatializer.xml:$(TARGET_COPY_OUT_VENDOR)/etc/dolby/dax-default-spatializer.xml \ vendor/xiaomi/klee/proprietary/vendor/etc/dolby/dax-default.xml:$(TARGET_COPY_OUT_VENDOR)/etc/dolby/dax-default.xml \ vendor/xiaomi/klee/proprietary/vendor/etc/dolby/dax-fs19xx-spatializer.xml:$(TARGET_COPY_OUT_VENDOR)/etc/dolby/dax-fs19xx-spatializer.xml \ @@ -1213,6 +1212,7 @@ PRODUCT_PACKAGES += \ libaal_sec \ libaimemc \ libaispq \ + libalsautils-v34 \ libapmonitor_vendor \ libappgamepq \ libapu_mdw \ diff --git a/proprietary/vendor/etc/displayconfig/display_id_4627039422300187648.xml b/proprietary/vendor/etc/displayconfig/display_id_4627039422300187648.xml deleted file mode 100644 index 9dee777..0000000 --- a/proprietary/vendor/etc/displayconfig/display_id_4627039422300187648.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - 0.0 - 2.0 - - - 1.0 - 490.0 - - - diff --git a/proprietary/vendor/lib64/hw/audio.primary.mediatek.so b/proprietary/vendor/lib64/hw/audio.primary.mediatek.so index 73de4bd..64865e9 100644 Binary files a/proprietary/vendor/lib64/hw/audio.primary.mediatek.so and b/proprietary/vendor/lib64/hw/audio.primary.mediatek.so differ diff --git a/proprietary/vendor/lib64/libalsautils-v34.so b/proprietary/vendor/lib64/libalsautils-v34.so new file mode 100644 index 0000000..314e361 Binary files /dev/null and b/proprietary/vendor/lib64/libalsautils-v34.so differ