diff options
| author | Ben Murdoch <benm@google.com> | 2014-07-17 14:55:00 +0100 |
|---|---|---|
| committer | Ben Murdoch <benm@google.com> | 2014-07-17 21:18:40 +0000 |
| commit | dc00a84af15ff3594a6dfa512be21095bf9fee82 (patch) | |
| tree | ce23ac29855ef8fa696285a2fe7ae4a50f67b645 /core/java/android/webkit | |
| parent | 6ccb5f894e11a0ee59c0632643f265427731536e (diff) | |
Update WebViewUpdateService to receive PACKAGE_REPLACED broadcast.
This allows the WebViewUpdateService to receive notifications that
an update has been installed and we need to trigger recreation of
the relro file.
bug: 16329377
Change-Id: I088e61487416add997995db304beca0cde71390c
Diffstat (limited to 'core/java/android/webkit')
| -rw-r--r-- | core/java/android/webkit/WebViewFactory.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/core/java/android/webkit/WebViewFactory.java b/core/java/android/webkit/WebViewFactory.java index 13be4539d189..2c7b3ebccdaf 100644 --- a/core/java/android/webkit/WebViewFactory.java +++ b/core/java/android/webkit/WebViewFactory.java @@ -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 |
