Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dc186b4d authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Remove pi.append_native_lib_paths property" am: f7d62644 am: 2407fa17

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

Change-Id: I36a851682d0d2f53af254a3c0286ae230d9c27d1
parents 65ed2cb5 2407fa17
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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;
@@ -909,7 +908,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 {