diff options
author | Justin DeMartino <jjdemartino@google.com> | 2020-09-21 13:23:58 -0700 |
---|---|---|
committer | Justin DeMartino <jjdemartino@google.com> | 2020-09-21 13:23:58 -0700 |
commit | 7e4fe6a28b718ab97c08811566238af2893ca65b (patch) | |
tree | 5413a5ec890b5a1ac4fbbe4548b5014e41a2591b /linker/linker_logger.cpp | |
parent | dcdcb3fa15004669823a3a118189d9d72ff30852 (diff) | |
parent | ab08b955a34423d53b28a6210e7530e67241af4a (diff) |
Merge SP1A.200921.001
Change-Id: Id2ab019914bb555dadf52c46b8403c0d5fb3c20a
Diffstat (limited to 'linker/linker_logger.cpp')
-rw-r--r-- | linker/linker_logger.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/linker/linker_logger.cpp b/linker/linker_logger.cpp index ec07a5547..165b85d96 100644 --- a/linker/linker_logger.cpp +++ b/linker/linker_logger.cpp @@ -41,7 +41,6 @@ #include "private/CachedProperty.h" LinkerLogger g_linker_logger; -bool g_greylist_disabled = false; static uint32_t ParseProperty(const std::string& value) { if (value.empty()) { @@ -91,15 +90,6 @@ void LinkerLogger::ResetState() { return; } - // This is a convenient place to check whether the greylist should be disabled for testing. - static CachedProperty greylist_disabled("debug.ld.greylist_disabled"); - bool old_value = g_greylist_disabled; - g_greylist_disabled = (strcmp(greylist_disabled.Get(), "true") == 0); - if (g_greylist_disabled != old_value) { - async_safe_format_log(ANDROID_LOG_INFO, "linker", "%s greylist", - g_greylist_disabled ? "Disabling" : "Enabling"); - } - flags_ = 0; // For logging, check the flag applied to all processes first. |