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

Commit 4bc3d32b authored by Alex Light's avatar Alex Light Committed by Gerrit Code Review
Browse files

Merge "Make fake libart for misbehaving apps be loaded."

parents 9b1d6441 0a72ba7d
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -362,6 +362,11 @@ public final class LoadedApk {

            // Add path to libraries in apk for current abi
            if (mApplicationInfo.primaryCpuAbi != null) {
                // Add fake libs into the library search path if we target prior to N.
                if (mApplicationInfo.targetSdkVersion <= 23) {
                    libPaths.add("/system/fake-libs" +
                        (VMRuntime.is64BitAbi(mApplicationInfo.primaryCpuAbi) ? "64" : ""));
                }
                for (String apk : apkPaths) {
                  libPaths.add(apk + "!/lib/" + mApplicationInfo.primaryCpuAbi);
                }