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

Commit b1a2c6c2 authored by Prashanth Swaminathan's avatar Prashanth Swaminathan Committed by Automerger Merge Worker
Browse files

Merge "Don't load compiler_rt if renderscript is disabled" am: a59180a4 am:...

Merge "Don't load compiler_rt if renderscript is disabled" am: a59180a4 am: aefc0714 am: 18ef8977 am: 07e4e1b9 am: f75c06b0

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



Change-Id: I4db82c000310b69abeb9c8e77135defc2552d346
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents b50a1b8f f75c06b0
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -185,8 +185,13 @@ public class ZygoteInit {
    private static void preloadSharedLibraries() {
        Log.i(TAG, "Preloading shared libraries...");
        System.loadLibrary("android");
        System.loadLibrary("compiler_rt");
        System.loadLibrary("jnigraphics");

        // TODO(b/206676167): This library is only used for renderscript today. When renderscript is
        // removed, this load can be removed as well.
        if (!SystemProperties.getBoolean("config.disable_renderscript", false)) {
            System.loadLibrary("compiler_rt");
        }
    }

    native private static void nativePreloadAppProcessHALs();