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

Commit a15689d4 authored by Ray Essick's avatar Ray Essick
Browse files

No longer preload libsfplugin_ccodec in zygote

libsfplugin_ccodec was loaded with dlopen() in initial generation.  It has
since been turned to always-linked.  This makes the performance tweak of
pre-loading in Zygote to improve camera startup latency no longer needed.

Bug: 177694783
Bug: 133186424
Test: functional camera
Change-Id: I054787cf9d6992515d3fccb289f041b536639bea
parent 3309f233
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -182,12 +182,6 @@ public class ZygoteInit {
        System.loadLibrary("android");
        System.loadLibrary("compiler_rt");
        System.loadLibrary("jnigraphics");

        try {
            System.loadLibrary("sfplugin_ccodec");
        } catch (Error | RuntimeException e) {
            // tolerate missing sfplugin_ccodec which is only present on Codec 2 devices
        }
    }

    native private static void nativePreloadAppProcessHALs();