Merge "Don't crash zygote if webcore fails to load"
This commit is contained in:
@ -58,7 +58,11 @@ final class WebViewCore {
|
|||||||
// Load libwebcore during static initialization. This happens in the
|
// Load libwebcore during static initialization. This happens in the
|
||||||
// zygote process so it will be shared read-only across all app
|
// zygote process so it will be shared read-only across all app
|
||||||
// processes.
|
// processes.
|
||||||
|
try {
|
||||||
System.loadLibrary("webcore");
|
System.loadLibrary("webcore");
|
||||||
|
} catch (UnsatisfiedLinkError e) {
|
||||||
|
Log.e(LOGTAG, "Unable to load webcore library");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Reference in New Issue
Block a user