Merge "Maybe fix issue #2881233: reboot loop at boot on stingray"
This commit is contained in:
committed by
Android (Google) Code Review
commit
d4e60a1f8e
@@ -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;
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user