From d73be1b96beab812b86f8174e7fc928291f0cb44 Mon Sep 17 00:00:00 2001 From: Steven Moreland Date: Thu, 13 Apr 2017 23:48:57 -0700 Subject: 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 --- liblog/properties.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'liblog/properties.c') 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"; -- cgit v1.2.3