diff options
| author | 2017-05-19 20:14:50 +0000 | |
|---|---|---|
| committer | 2017-05-19 20:14:50 +0000 | |
| commit | 0bdd7ae68eb044daccfea0395652e3cf16d5b758 (patch) | |
| tree | 1d0948c97b17e735ad94c2de473a6325bae8a650 /services/java/com | |
| parent | 75f7c57aef510d4c74d585a188fef1b597998ab7 (diff) | |
| parent | ff4cc4ebb516a39c6f3252a240a57646c3354484 (diff) | |
Merge "Wait for keyguard draw before stopping boot animation" into oc-dev
am: ff4cc4ebb5
Change-Id: I1c1437f83387aa4974ee991502018f5b59baf248
Diffstat (limited to 'services/java/com')
| -rw-r--r-- | services/java/com/android/server/SystemServer.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/services/java/com/android/server/SystemServer.java b/services/java/com/android/server/SystemServer.java index 09d1d9a6eeae..db7b843fdafd 100644 --- a/services/java/com/android/server/SystemServer.java +++ b/services/java/com/android/server/SystemServer.java @@ -1653,6 +1653,7 @@ public final class SystemServer { final MediaRouterService mediaRouterF = mediaRouter; final MmsServiceBroker mmsServiceF = mmsService; final IpSecService ipSecServiceF = ipSecService; + final WindowManagerService windowManagerF = wm; // We now tell the activity manager it is okay to run third party // code. It will call back into us once it has gotten to the state @@ -1692,7 +1693,7 @@ public final class SystemServer { traceBeginAndSlog("StartSystemUI"); try { - startSystemUi(context); + startSystemUi(context, windowManagerF); } catch (Throwable e) { reportWtf("starting System UI", e); } @@ -1846,13 +1847,14 @@ public final class SystemServer { }, BOOT_TIMINGS_TRACE_LOG); } - static final void startSystemUi(Context context) { + static final void startSystemUi(Context context, WindowManagerService windowManager) { Intent intent = new Intent(); intent.setComponent(new ComponentName("com.android.systemui", "com.android.systemui.SystemUIService")); intent.addFlags(Intent.FLAG_DEBUG_TRIAGED_MISSING); //Slog.d(TAG, "Starting service: " + intent); context.startServiceAsUser(intent, UserHandle.SYSTEM); + windowManager.onSystemUiStarted(); } private static void traceBeginAndSlog(String name) { |