summaryrefslogtreecommitdiff
path: root/linker/linker.cpp
diff options
context:
space:
mode:
authorRyan Prichard <rprichard@google.com>2020-07-30 19:16:20 -0700
committerRyan Prichard <rprichard@google.com>2020-07-30 19:29:17 -0700
commit238609328fb5b294ad34e2d4a3f0ea4c7198b5bc (patch)
tree245be03485ef59d8e0703968183da4c7c896e1eb /linker/linker.cpp
parent9c6d60d073db079a87fbeb5de3e72ac12838a480 (diff)
Remove debug.ld.greylist_disabled property
This property provided a way to disable the greylist, for testing whether an app targeting < 24 still works. Instead of turning off the greylist, though, an app developer should simply target a newer API. (If app developers really need this property for testing, they can still use it on versions of Android between N and R, inclusive.) Update language to comply with Android's inclusive language guidance See https://source.android.com/setup/contribute/respectful-code for reference #inclusivefixit Bug: http://b/162536543 Test: bionic-unit-tests Change-Id: Id1eb2807fbb7436dc9ed7fe47e15b7d165a26789
Diffstat (limited to 'linker/linker.cpp')
-rw-r--r--linker/linker.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/linker/linker.cpp b/linker/linker.cpp
index 7cfe87be7..6da315e7d 100644
--- a/linker/linker.cpp
+++ b/linker/linker.cpp
@@ -207,7 +207,7 @@ static bool is_greylisted(android_namespace_t* ns, const char* name, const soinf
};
// If you're targeting N, you don't get the greylist.
- if (g_greylist_disabled || get_application_target_sdk_version() >= 24) {
+ if (get_application_target_sdk_version() >= 24) {
return false;
}