WebView will crash on Android 4.1 when it attempts to load a webpage.
- It does not crash on Android 4.2 or newer OS versions.
- It won't crash on Android 4.1 if a webpage has not been loaded. (That is, the "url" has not been set.)
It crashes when the Canvas.drawPath() methods get called in our "TiBorderWrapperView.java" while hardware acceleration is enabled. So, even though we've never applied a border in the above test code, our WebViewProxy always applies a zero border width to its settings, which is enough to trigger our TiUIView code to go wrap the WebView in a TiBorderWrapperView container.
Never draw a border around a WebView on Android 4.1 to work-around this issue.
Note that disabling hardware acceleration will work-around this issue as well, but doing so will prevent HTML5 videos from being seen (see:
TIMOB-23885), making this a worse solution.