Maybe fix issue #2881233: reboot loop at boot on stingray
Change-Id: I4bd88fdd506d061146c441143d39b796a8df2f49
diff --git a/services/java/com/android/server/WindowManagerService.java b/services/java/com/android/server/WindowManagerService.java
index ba54872..7398f69 100644
--- a/services/java/com/android/server/WindowManagerService.java
+++ b/services/java/com/android/server/WindowManagerService.java
@@ -5529,10 +5529,6 @@
}
public void systemReady() {
- mPolicy.systemReady();
- }
-
- public void initDisplay() {
synchronized(mWindowMap) {
if (mDisplay != null) {
throw new IllegalStateException("Display already initialized");
@@ -5548,6 +5544,8 @@
mActivityManager.updateConfiguration(null);
} catch (RemoteException e) {
}
+
+ mPolicy.systemReady();
}
// -------------------------------------------------------------