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

Commit aefc0714 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

parents f42d0e0b a59180a4
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();