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:
Alexander Winkowski 2021-12-27 08:54:39 +00:00 committed by roynaetch2544
commit 8b275247f9
No known key found for this signature in database
GPG key ID: 50ABF73F0D19445D
2 changed files with 17 additions and 0 deletions

View 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"],
}

View file

@ -0,0 +1,5 @@
#include <log/log.h>
int __android_log_print(int prio, const char* tag, const char* fmt, ...) {
return 0;
}