am fe970ad5: am 5ba41787: am 015ca040: Merge "Update WebViewUpdateService to receive PACKAGE_REPLACED broadcast." into lmp-dev

* commit 'fe970ad538dd830f81889681fb84d4e3e0f6c8f3':
  Update WebViewUpdateService to receive PACKAGE_REPLACED broadcast.
This commit is contained in:
Ben Murdoch
2014-07-17 23:54:38 +00:00
committed by Android Git Automerger
3 changed files with 37 additions and 2 deletions

View File

@@ -63,6 +63,11 @@ public final class WebViewFactory {
private static final Object sProviderLock = new Object();
private static boolean sAddressSpaceReserved = false;
public static String getWebViewPackageName() {
// TODO: Make this dynamic based on resource configuration.
return "com.android.webview";
}
static WebViewFactoryProvider getProvider() {
synchronized (sProviderLock) {
// For now the main purpose of this function (and the factory abstraction) is to keep