summaryrefslogtreecommitdiff
path: root/services/java/com/android/server/SystemServer.java
diff options
context:
space:
mode:
authorMathew Inwood <mathewi@google.com>2018-11-26 15:31:16 +0000
committerMathew Inwood <mathewi@google.com>2018-12-05 11:00:26 +0000
commit4e2ed6a90ba32bec7c67cf4260d65bf40430dcf9 (patch)
tree866d4103cb55ff034d1984327a5895f04d42b4b4 /services/java/com/android/server/SystemServer.java
parentce7357ad97b0e2af2e91ce1cda79f3ca8c1d6965 (diff)
New receiver for signed config.
A new receiver is added when the system server is created. It receives broadcasts and pulls out the config & signature, but doesn't yet do anything with it. go/serverless-config-design Test: Manual Bug: 110509075 Change-Id: Ie369e198de5e830253b17e964afb67c76735909c
Diffstat (limited to 'services/java/com/android/server/SystemServer.java')
-rw-r--r--services/java/com/android/server/SystemServer.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/services/java/com/android/server/SystemServer.java b/services/java/com/android/server/SystemServer.java
index f8ac41f3c40c..c745d6f190a6 100644
--- a/services/java/com/android/server/SystemServer.java
+++ b/services/java/com/android/server/SystemServer.java
@@ -121,6 +121,7 @@ import com.android.server.restrictions.RestrictionsManagerService;
import com.android.server.role.RoleManagerService;
import com.android.server.security.KeyAttestationApplicationIdProviderService;
import com.android.server.security.KeyChainSystemService;
+import com.android.server.signedconfig.SignedConfigService;
import com.android.server.soundtrigger.SoundTriggerService;
import com.android.server.stats.StatsCompanionService;
import com.android.server.statusbar.StatusBarManagerService;
@@ -1003,6 +1004,11 @@ public final class SystemServer {
traceBeginAndSlog("PinnerService");
mSystemServiceManager.startService(PinnerService.class);
traceEnd();
+
+ traceBeginAndSlog("SignedConfigService");
+ SignedConfigService.registerUpdateReceiver(mSystemContext);
+ traceEnd();
+
} catch (RuntimeException e) {
Slog.e("System", "******************************************");
Slog.e("System", "************ Failure starting core service", e);