summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteven Moreland2017-04-14 01:48:57 -0500
committerSteven Moreland2017-04-17 16:44:17 -0500
commitd73be1b96beab812b86f8174e7fc928291f0cb44 (patch)
tree2239b8c02d02461fe5f39d823301e784bd95c763 /liblog/properties.c
parentffa38cfc1ea33de4ddddb291cc70cc507506b758 (diff)
downloadplatform-system-core-d73be1b96beab812b86f8174e7fc928291f0cb44.tar.gz
platform-system-core-d73be1b96beab812b86f8174e7fc928291f0cb44.tar.xz
platform-system-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,
277 return logLevel >= 0 && prio >= logLevel; 277 return logLevel >= 0 && prio >= logLevel;
278} 278}
279 279
280LIBLOG_ABI_PRIVATE int __android_log_is_debuggable() { 280LIBLOG_ABI_PUBLIC int __android_log_is_debuggable() {
281 static uint32_t serial; 281 static uint32_t serial;
282 static struct cache_char tag_cache; 282 static struct cache_char tag_cache;
283 static const char key[] = "ro.debuggable"; 283 static const char key[] = "ro.debuggable";