Test logcat instead of checking logd

This commit is contained in:
topjohnwu
2018-04-08 02:12:40 +08:00
parent 7d7686da33
commit 42284c5efb
4 changed files with 24 additions and 23 deletions

View File

@@ -31,7 +31,7 @@ enum {
DAEMON_ERROR = -1,
DAEMON_SUCCESS = 0,
ROOT_REQUIRED,
LOGD_DISABLED,
LOGCAT_DISABLED,
HIDE_IS_ENABLED,
HIDE_NOT_ENABLED,
HIDE_ITEM_EXIST,

View File

@@ -58,7 +58,7 @@ struct log_listener {
};
extern struct log_listener log_events[];
extern int logd;
extern int loggable;
void monitor_logs();
void start_debug_full_log();