miatoll: Add a shim to silence prebuilt audio HAL

For some reason Xiaomi built audio HAL with "very very verbose" logging
enabled [1] and it spams really too much. Just shim the whole log function
to do nothing.

[1] https://github.com/LineageOS/android_hardware_qcom_audio/blob/c659e83702/hal/audio_hw.c#L41

Co-authored-by: Jan Engelmohr <jan.engelmohr@mailbox.tu-dresden.de>
Change-Id: Iff278c44f203dc7b81bccb2281edfc3f5687a47c
This commit is contained in:
Alexander Winkowski
2021-12-27 08:54:39 +00:00
parent 1edd945981
commit 9616ba9373
4 changed files with 24 additions and 0 deletions

View File

@ -178,6 +178,9 @@ include device/qcom/sepolicy_vndr/SEPolicy.mk
SYSTEM_EXT_PRIVATE_SEPOLICY_DIRS += $(DEVICE_PATH)/sepolicy/private
BOARD_SEPOLICY_DIRS += $(DEVICE_PATH)/sepolicy/vendor
# Shims
TARGET_LD_SHIM_LIBS := vendor/lib/hw/audio.primary.atoll.so|fakelogprint.so
# Verified Boot
BOARD_AVB_ENABLE := true
BOARD_AVB_MAKE_VBMETA_IMAGE_ARGS += --flags 3