Merge "Remove pi.append_native_lib_paths property" am: f7d62644d6 am: 2407fa17f4 am: dc186b4d44

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1498476

Change-Id: I5e820e85b0de85649039daf468239d693c390ea2
This commit is contained in:
Treehugger Robot
2020-11-13 08:24:51 +00:00
committed by Automerger Merge Worker

View File

@@ -103,7 +103,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;
@@ -906,7 +905,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 {