Don't crash zygote if webcore fails to load

Change-Id: I88271fb62c0cc7c6d768009a713f20d9dfbfb5eb
This commit is contained in:
Jean-Baptiste Queru
2011-01-31 15:43:19 -08:00
parent 056340ac95
commit c0e95048b9

View File

@@ -58,7 +58,11 @@ final class WebViewCore {
// Load libwebcore during static initialization. This happens in the
// zygote process so it will be shared read-only across all app
// processes.
System.loadLibrary("webcore");
try {
System.loadLibrary("webcore");
} catch (UnsatisfiedLinkError e) {
Log.e(LOGTAG, "Unable to load webcore library");
}
}
/*