diff options
| author | Mister Oyster <oysterized@gmail.com> | 2017-04-18 19:42:36 +0200 |
|---|---|---|
| committer | Mister Oyster <oysterized@gmail.com> | 2017-04-18 19:42:36 +0200 |
| commit | 38870fe125ecbbd2a5f7a7d768df4d44f5a225bf (patch) | |
| tree | 534dcb8c8e087a942c210a86d744a54effb4e364 | |
| parent | c61058eaee58bef3303dacdeefc0be41f6efadd4 (diff) | |
shim: xlog cleanup
| -rw-r--r-- | mtk/libshims/xlog.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/mtk/libshims/xlog.c b/mtk/libshims/xlog.c index d0c1547..59a2afd 100644 --- a/mtk/libshims/xlog.c +++ b/mtk/libshims/xlog.c @@ -9,29 +9,7 @@ struct xlog_record { void __attribute__((weak)) __xlog_buf_printf(__unused int bufid, const struct xlog_record *xlog_record, ...) { va_list args; va_start(args, xlog_record); -#if HAVE_LIBC_SYSTEM_PROPERTIES - int len = 0; - int do_xlog = 0; - char results[PROP_VALUE_MAX]; - - // MobileLog - len = __system_property_get ("debug.MB.running", results); - if (len && atoi(results)) - do_xlog = 1; - - // ModemLog - len = __system_property_get ("debug.mdlogger.Running", results); - if (len && atoi(results)) - do_xlog = 1; - - // Manual - len = __system_property_get ("persist.debug.xlog.enable", results); - if (len && atoi(results)) - do_xlog = 1; - - if (do_xlog > 0) -#endif __android_log_vprint(xlog_record->prio, xlog_record->tag_str, xlog_record->fmt_str, args); return; |
