Cherry pick Make WebViewUpdateService a SystemService. DO NOT MERGE
Migrate WebViewUpdateService to the newer SystemService approach instead of ServiceManager.addService. Original Bug: 16403706 Original Change-Id: I21aa67a41c22c3c20ba9e82eb87e5d610fe130e8 Bug: 16723226 Change-Id: Id276b71ee547e683f0756bcee0f4978ce342c2af
This commit is contained in:
committed by
Ben Murdoch
parent
161536b597
commit
4dbeb359b2
@@ -376,6 +376,9 @@ public final class SystemServer {
|
||||
mSystemServiceManager.startService(UsageStatsService.class);
|
||||
mActivityManagerService.setUsageStatsManager(
|
||||
LocalServices.getService(UsageStatsManagerInternal.class));
|
||||
|
||||
// Tracks whether the updatable WebView is in a ready state and watches for update installs.
|
||||
mSystemServiceManager.startService(WebViewUpdateService.class);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -422,9 +425,6 @@ public final class SystemServer {
|
||||
Slog.i(TAG, "Reading configuration...");
|
||||
SystemConfig.getInstance();
|
||||
|
||||
Slog.i(TAG, "WebView Update Service");
|
||||
ServiceManager.addService("webviewupdate", new WebViewUpdateService(context));
|
||||
|
||||
Slog.i(TAG, "Scheduling Policy");
|
||||
ServiceManager.addService("scheduling_policy", new SchedulingPolicyService());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user