Merge "Cleanup SystemReady in the network stack" am: e0ef7ce4f7 am: 4b130e8567

am: aafb4b0576

Change-Id: I0e57236ede9dd176cd30ea034d05205776662c91
This commit is contained in:
Chalard Jean
2019-04-01 18:13:24 -07:00
committed by android-build-merger
5 changed files with 6 additions and 42 deletions

View File

@@ -2133,6 +2133,11 @@ public final class SystemServer {
traceBeginAndSlog("StartNetworkStack");
try {
// Note : the network stack is creating on-demand objects that need to send
// broadcasts, which means it currently depends on being started after
// ActivityManagerService.mSystemReady and ActivityManagerService.mProcessesReady
// are set to true. Be careful if moving this to a different place in the
// startup sequence.
NetworkStackClient.getInstance().start(context);
} catch (Throwable e) {
reportWtf("starting Network Stack", e);