summaryrefslogtreecommitdiffstats
path: root/services
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2010-07-29 19:16:18 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2010-07-29 19:16:18 -0700
commitd4e60a1f8e6a92102c0ac55775c4153e31aec407 (patch)
tree19533b65ea50c3a6321341efae4dff17a6871a60 /services
parentb88d4dfeb55135faa8bf70b1f7117382245941f6 (diff)
parent154db5f6358284d917d515f05d4474606b4896b2 (diff)
downloadframeworks_base-d4e60a1f8e6a92102c0ac55775c4153e31aec407.zip
frameworks_base-d4e60a1f8e6a92102c0ac55775c4153e31aec407.tar.gz
frameworks_base-d4e60a1f8e6a92102c0ac55775c4153e31aec407.tar.bz2
Merge "Maybe fix issue #2881233: reboot loop at boot on stingray"
Diffstat (limited to 'services')
-rw-r--r--services/java/com/android/server/SystemServer.java2
-rw-r--r--services/java/com/android/server/WindowManagerService.java6
2 files changed, 2 insertions, 6 deletions
diff --git a/services/java/com/android/server/SystemServer.java b/services/java/com/android/server/SystemServer.java
index bc1e847..2412b7d 100644
--- a/services/java/com/android/server/SystemServer.java
+++ b/services/java/com/android/server/SystemServer.java
@@ -475,8 +475,6 @@ class ServerThread extends Thread {
} catch (RemoteException e) {
}
- wm.initDisplay();
-
// These are needed to propagate to the runnable below.
final StatusBarManagerService statusBarF = statusBar;
final BatteryService batteryF = battery;
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 class WindowManagerService extends IWindowManager.Stub
}
public void systemReady() {
- mPolicy.systemReady();
- }
-
- public void initDisplay() {
synchronized(mWindowMap) {
if (mDisplay != null) {
throw new IllegalStateException("Display already initialized");
@@ -5548,6 +5544,8 @@ public class WindowManagerService extends IWindowManager.Stub
mActivityManager.updateConfiguration(null);
} catch (RemoteException e) {
}
+
+ mPolicy.systemReady();
}
// -------------------------------------------------------------