Merge "Preload sfplugin_ccodec for performance" into qt-dev am: 878a6b2015 am: 0ef82ad076

am: b816bc76c6

Change-Id: I1f562a4c91ef6d5d803ddb8513f5a8b1c4bd86cc
This commit is contained in:
Ray Essick
2019-07-02 12:33:27 -07:00
committed by android-build-merger

View File

@@ -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();