Skip to content

Commit eb17d6f

Browse files
Jean-Baptiste QueruAndroid Code Review
authored andcommitted
Merge "Don't crash zygote if webcore fails to load"
2 parents 056340a + c0e9504 commit eb17d6f

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

core/java/android/webkit/WebViewCore.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,11 @@ final class WebViewCore {
5858
// Load libwebcore during static initialization. This happens in the
5959
// zygote process so it will be shared read-only across all app
6060
// processes.
61-
System.loadLibrary("webcore");
61+
try {
62+
System.loadLibrary("webcore");
63+
} catch (UnsatisfiedLinkError e) {
64+
Log.e(LOGTAG, "Unable to load webcore library");
65+
}
6266
}
6367

6468
/*

0 commit comments

Comments
 (0)