summaryrefslogtreecommitdiff
path: root/services/java
diff options
context:
space:
mode:
author Pedro Loureiro <pedroql@google.com> 2022-12-22 10:35:42 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2022-12-22 10:35:42 +0000
commit5fedb58a765bd48cd5169f830aa3a5cd65ad68dc (patch)
treeb54bc266728e9453aff38ff6a3e682a53dfc938d /services/java
parent3a409a02aac8d5ba3334f38172704f25fd4182fd (diff)
parent75960f771b149560ad170503b267049dfe2234f8 (diff)
Merge "Handle device config service(s) in platform and mainline"
Diffstat (limited to 'services/java')
-rw-r--r--services/java/com/android/server/SystemServer.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/services/java/com/android/server/SystemServer.java b/services/java/com/android/server/SystemServer.java
index bcb4ec98083b..e0880c030bfe 100644
--- a/services/java/com/android/server/SystemServer.java
+++ b/services/java/com/android/server/SystemServer.java
@@ -425,6 +425,8 @@ public final class SystemServer implements Dumpable {
"com.android.server.sdksandbox.SdkSandboxManagerService$Lifecycle";
private static final String AD_SERVICES_MANAGER_SERVICE_CLASS =
"com.android.server.adservices.AdServicesManagerService$Lifecycle";
+ private static final String UPDATABLE_DEVICE_CONFIG_SERVICE_CLASS =
+ "com.android.server.deviceconfig.DeviceConfigInit$Lifecycle";
private static final String TETHERING_CONNECTOR_CLASS = "android.net.ITetheringConnector";
@@ -1512,6 +1514,8 @@ public final class SystemServer implements Dumpable {
t.traceBegin("InstallSystemProviders");
mActivityManagerService.getContentProviderHelper().installSystemProviders();
+ // Device configuration used to be part of System providers
+ mSystemServiceManager.startService(UPDATABLE_DEVICE_CONFIG_SERVICE_CLASS);
// Now that SettingsProvider is ready, reactivate SQLiteCompatibilityWalFlags
SQLiteCompatibilityWalFlags.reset();
t.traceEnd();