OSDN Git Service

Don't let failures to load the null WebView propagate.
authorTorne (Richard Coles) <torne@google.com>
Mon, 4 Aug 2014 13:04:02 +0000 (14:04 +0100)
committerTorne (Richard Coles) <torne@google.com>
Mon, 4 Aug 2014 13:26:16 +0000 (14:26 +0100)
commit5f3278ba1e7572d4a5624d18fd08ba9038abc575
treec7df899a61332bba4022f04c74ac05dc9fa3789d
parent611393560e22fdcc939029298cfc624a8560bf37
Don't let failures to load the null WebView propagate.

We load the null WebView if the real WebView package is not available to
support devices that aren't intended to have a WebView, but this results
in confusing log messages if the real WebView is supposed to be present
but is broken/unloadable for some reason. Since the null WebView is in
the system classpath on devices that should use it, swallow any failures
to load it on the assumption that this is actually just a failure of the
real WebView to be loaded.

Change-Id: I15820da3517daffde6169343c648a4486c0309d7
core/java/android/webkit/WebViewFactory.java