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

Commit ea599dff authored by Jesse Hall's avatar Jesse Hall Committed by Android (Google) Code Review
Browse files

Don't crash when recovering from WM death

Bug: 6956162
Change-Id: I27244b960c77187b4c4cd7297989c4c872e94a3a
parent f0083bf5
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -142,6 +142,8 @@ void SurfaceFlinger::binderDied(const wp<IBinder>& who)
    Vector<ComposerState> state;
    Vector<DisplayState> displays;
    DisplayState d;
    d.what = DisplayState::eTransformChanged;
    d.token = mDefaultDisplays[DisplayDevice::DISPLAY_ID_MAIN];
    d.orientation = DisplayState::eOrientationDefault;
    displays.add(d);
    setTransactionState(state, displays, 0);