am ea599dff
: Don\'t crash when recovering from WM death
* commit 'ea599dfff03b45903dae3288274c31cb24fd483f': Don't crash when recovering from WM death
This commit is contained in:
commit
d007dc12c6
@ -142,6 +142,8 @@ void SurfaceFlinger::binderDied(const wp<IBinder>& who)
|
|||||||
Vector<ComposerState> state;
|
Vector<ComposerState> state;
|
||||||
Vector<DisplayState> displays;
|
Vector<DisplayState> displays;
|
||||||
DisplayState d;
|
DisplayState d;
|
||||||
|
d.what = DisplayState::eTransformChanged;
|
||||||
|
d.token = mDefaultDisplays[DisplayDevice::DISPLAY_ID_MAIN];
|
||||||
d.orientation = DisplayState::eOrientationDefault;
|
d.orientation = DisplayState::eOrientationDefault;
|
||||||
displays.add(d);
|
displays.add(d);
|
||||||
setTransactionState(state, displays, 0);
|
setTransactionState(state, displays, 0);
|
||||||
|
Loading…
Reference in New Issue
Block a user