Merge "Maybe fix issue #2881233: reboot loop at boot on stingray"

This commit is contained in:
Dianne Hackborn
2010-07-29 19:16:18 -07:00
committed by Android (Google) Code Review
2 changed files with 2 additions and 6 deletions

View File

@@ -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;

View File

@@ -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();
}
// -------------------------------------------------------------