Alexander Winkowski 9616ba9373
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
2022-11-20 07:37:01 +00:00

13 lines
233 B
Plaintext

//
// Copyright (C) 2021 The LineageOS Project
//
// SPDX-License-Identifier: Apache-2.0
//
cc_library_shared {
name: "fakelogprint",
vendor: true,
shared_libs: ["liblog"],
srcs: ["fakelogprint/fakelogprint.cpp"],
}