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

Commit 87fc3082 authored by Dianne Hackborn's avatar Dianne Hackborn
Browse files

Fix issue #3175809: system_server crash with SEGV_MAPERR (IKXEVEREST-1372)

Don't crash if dump() is called before we have set mDisplay.

Change-Id: I0d3d356ff27dbc61353a5b99e348178937d5f4a5
parent 189ee18d
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -11344,8 +11344,12 @@ public class WindowManagerService extends IWindowManager.Stub
            if (mToBottomApps.size() > 0) {
                pw.print("  mToBottomApps="); pw.println(mToBottomApps);
            }
            if (mDisplay != null) {
                pw.print("  DisplayWidth="); pw.print(mDisplay.getWidth());
                        pw.print(" DisplayHeight="); pw.println(mDisplay.getHeight());
            } else {
                pw.println("  NO DISPLAY");
            }
        }
    }