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
This commit is contained in:
Ben Murdoch
2014-07-17 14:55:00 +01:00
parent 6ccb5f894e
commit dc00a84af1
3 changed files with 37 additions and 2 deletions

View File

@@ -411,7 +411,7 @@ public final class SystemServer {
SystemConfig.getInstance();
Slog.i(TAG, "WebView Update Service");
ServiceManager.addService("webviewupdate", new WebViewUpdateService());
ServiceManager.addService("webviewupdate", new WebViewUpdateService(context));
Slog.i(TAG, "WebViewFactory preparation");
WebViewFactory.prepareWebViewInSystemServer();