Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 154db5f6 authored by Dianne Hackborn's avatar Dianne Hackborn
Browse files

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

Change-Id: I4bd88fdd506d061146c441143d39b796a8df2f49
parent 5aa1c034
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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;
+2 −4
Original line number Diff line number Diff line
@@ -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();
    }

    // -------------------------------------------------------------