summaryrefslogtreecommitdiffstats
path: root/liblog/properties.c
diff options
context:
space:
mode:
authorSteven Moreland <smoreland@google.com>2017-04-13 23:48:57 -0700
committerSteven Moreland <smoreland@google.com>2017-04-17 14:44:17 -0700
commitd73be1b96beab812b86f8174e7fc928291f0cb44 (patch)
tree2239b8c02d02461fe5f39d823301e784bd95c763 /liblog/properties.c
parentffa38cfc1ea33de4ddddb291cc70cc507506b758 (diff)
downloadcore-d73be1b96beab812b86f8174e7fc928291f0cb44.tar.gz
core-d73be1b96beab812b86f8174e7fc928291f0cb44.tar.bz2
core-d73be1b96beab812b86f8174e7fc928291f0cb44.zip
libcutils: compile with BOARD_VNDK_VERSION current
- moved __android_log_is_debuggable to a new public header (log_properties.h) - vendor version of sched_policy uses ALOG* instead SLOG* Test: (sanity) liblog-unit-tests Test: (sanity) libcutils_test (noting b/b/32972117, two tests continue to fail) Test: system/core as a whole makes with BOARD_VNDK_VERSION := current now with no problems. Test: boots/works on internal marlin Bug: 33241851 (cherry picked from commit 1f83aa424f537cf3f07e1d27dbbcc524818b5358) Merged-In: I5bc1f348dc0f0c8814bec5b5c3d2c52c825ab640 Change-Id: I5bc1f348dc0f0c8814bec5b5c3d2c52c825ab640
Diffstat (limited to 'liblog/properties.c')
-rw-r--r--liblog/properties.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/liblog/properties.c b/liblog/properties.c
index adf19002e..c71cbcfc1 100644
--- a/liblog/properties.c
+++ b/liblog/properties.c
@@ -277,7 +277,7 @@ LIBLOG_ABI_PUBLIC int __android_log_is_loggable(int prio, const char* tag,
return logLevel >= 0 && prio >= logLevel;
}
-LIBLOG_ABI_PRIVATE int __android_log_is_debuggable() {
+LIBLOG_ABI_PUBLIC int __android_log_is_debuggable() {
static uint32_t serial;
static struct cache_char tag_cache;
static const char key[] = "ro.debuggable";