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

Commit 0ef82ad0 authored by Ray Essick's avatar Ray Essick Committed by android-build-merger
Browse files

Merge "Preload sfplugin_ccodec for performance" into qt-dev

am: 878a6b20

Change-Id: Idae0ffb08ba0027b94bb0ff55f70af6dca7e2bd3
parents e9acb9c5 878a6b20
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -188,6 +188,13 @@ public class ZygoteInit {
        System.loadLibrary("android");
        System.loadLibrary("compiler_rt");
        System.loadLibrary("jnigraphics");

        // tolerate missing sfplugin_ccodec which is only present on Codec 2 devices
        try {
            System.loadLibrary("sfplugin_ccodec");
        } catch (Error | RuntimeException e) {
            Log.w(TAG, "Problem preloading sfplugin_ccodec: " + e);
        }
    }

    native private static void nativePreloadAppProcessHALs();