commit | 8b17926a78cc686504739730516c9b057d0672da | [log] [tgz] |
---|---|---|
author | Gustav Sennton <gsennton@google.com> | Mon Mar 14 11:31:14 2016 +0000 |
committer | Gustav Sennton <gsennton@google.com> | Fri Mar 18 15:47:23 2016 +0000 |
tree | 7033b6823abde5f870cc317416dc0f26b854f59b | |
parent | 54f4a630dcb66f0b6d5ae5b1028dc88d7971c99e [diff] |
Add utility interface for WebView preparation logic. To make the WebView preparation mechanism testable we add a utility interface that can be overridden during a test to avoid calling the Android framework and to provide custom WebView packages. With this change we also split some of the code from the WebViewFactory (code unrelated to WebView loading) into a separate utility class. Bug: 27635535 Change-Id: I265ecd42b24ad5383637e125b3654ff339c9df9c