summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Patrick Baumann <patb@google.com> 2020-11-12 16:55:06 +0000
committer Patrick Baumann <patb@google.com> 2020-11-12 16:56:39 +0000
commit22efaa84228c277c436b4537a9189778c022fab5 (patch)
tree9574e6fa65d2bcd4936e1a154447a4ac988a54b4
parent5384885a5675c17aa756f34d6d816b68dc60baf3 (diff)
Remove pi.append_native_lib_paths property
This change removes the "pi.append_native_lib_paths" property added as a kill switch for a feature that has been out in the wild now for several releases now. Change-Id: I21f9d158f60d0cf47e3631bb37ece711b3450494 Fixes: 173103133
-rw-r--r--core/java/android/app/LoadedApk.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/core/java/android/app/LoadedApk.java b/core/java/android/app/LoadedApk.java
index 4eef6161df58..6535387acdf3 100644
--- a/core/java/android/app/LoadedApk.java
+++ b/core/java/android/app/LoadedApk.java
@@ -102,7 +102,6 @@ final class ServiceConnectionLeaked extends AndroidRuntimeException {
public final class LoadedApk {
static final String TAG = "LoadedApk";
static final boolean DEBUG = false;
- private static final String PROPERTY_NAME_APPEND_NATIVE = "pi.append_native_lib_paths";
@UnsupportedAppUsage
private final ActivityThread mActivityThread;
@@ -926,7 +925,7 @@ public final class LoadedApk {
needToSetupJitProfiles = true;
}
- if (!libPaths.isEmpty() && SystemProperties.getBoolean(PROPERTY_NAME_APPEND_NATIVE, true)) {
+ if (!libPaths.isEmpty()) {
// Temporarily disable logging of disk reads on the Looper thread as this is necessary
StrictMode.ThreadPolicy oldPolicy = allowThreadDiskReads();
try {