diff options
author | Mark Salyzyn <salyzyn@google.com> | 2016-03-25 15:50:46 -0700 |
---|---|---|
committer | Mark Salyzyn <salyzyn@google.com> | 2016-10-14 08:00:41 -0700 |
commit | 9ea359fce0e401cd7a95fe1ac4e1c9926e2a6eb5 (patch) | |
tree | 1068d965842b8e29200c3957f551ffc087e45bc2 /include/private/android_logger.h | |
parent | 955648a915920733307da633b94b7fd44860b4d0 (diff) | |
download | system_core-9ea359fce0e401cd7a95fe1ac4e1c9926e2a6eb5.tar.gz system_core-9ea359fce0e401cd7a95fe1ac4e1c9926e2a6eb5.tar.bz2 system_core-9ea359fce0e401cd7a95fe1ac4e1c9926e2a6eb5.zip |
liblog: LIBLOG_ABI_PRIVATE __android_log_is_debuggable()
Allow our own libraries to use this privately instead of
running the less efficient get_properties and doing the math.
Test: compile and boot smoke test
Bug: 27566046
Bug: 31456426
Change-Id: I2f677276d27fbcb6af01b600ac1d9891c8938d43
Diffstat (limited to 'include/private/android_logger.h')
-rw-r--r-- | include/private/android_logger.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/private/android_logger.h b/include/private/android_logger.h index 141001cb9..94095d1df 100644 --- a/include/private/android_logger.h +++ b/include/private/android_logger.h @@ -130,6 +130,8 @@ int __android_log_security_bwrite(int32_t tag, const void *payload, size_t len); int __android_log_security_bswrite(int32_t tag, const char *payload); int __android_log_security(); /* Device Owner is present */ +int __android_log_is_debuggable(); + #if defined(__cplusplus) } #endif |