mirror of
https://github.com/chararomandroid/android_device_samsung_a20
synced 2026-08-21 11:55:31 -04:00
universal7885: Import a shim to silence logcat spam on vendor blobs
Co-authored-by: Jan Engelmohr <jan.engelmohr@mailbox.tu-dresden.de>
This commit is contained in:
parent
d25fc0d03c
commit
8b275247f9
2 changed files with 17 additions and 0 deletions
12
universal7885-common/libshims/fakelogprint/Android.bp
Normal file
12
universal7885-common/libshims/fakelogprint/Android.bp
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
//
|
||||
// Copyright (C) 2021 The LineageOS Project
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
//
|
||||
|
||||
cc_library_shared {
|
||||
name: "fakelogprint",
|
||||
vendor: true,
|
||||
shared_libs: ["liblog"],
|
||||
srcs: ["fakelogprint.cpp"],
|
||||
}
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
#include <log/log.h>
|
||||
|
||||
int __android_log_print(int prio, const char* tag, const char* fmt, ...) {
|
||||
return 0;
|
||||
}
|
||||
Loading…
Reference in a new issue