OSDN Git Service

Move NetworkStack start to AM.systemReady
authorRemi NGUYEN VAN <reminv@google.com>
Tue, 12 Mar 2019 02:50:22 +0000 (11:50 +0900)
committerRemi NGUYEN VAN <reminv@google.com>
Tue, 12 Mar 2019 04:53:11 +0000 (04:53 +0000)
commitc7054c5e2083ef37e65d53e18cfb80940729d5ae
tree05817b41acc4f0ef3cab358c7507ff1ed833922b
parent7c447498c38f633718d2a95adef3a0609e86862e
Move NetworkStack start to AM.systemReady

In practice the NetworkStack was not started after
ActivityManager#systemReady, since ActivityManager was only scheduling
the start (mPendingStarts).
Requesting the start too early causes issues for the PackageManager to
install updates/rollbacks.

Test: flashed AOSP and internal builds, WiFi working
Bug: 128331883
Change-Id: I93315ad31925bd436e21d1eabb21d5967e6aae60
services/java/com/android/server/SystemServer.java