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

Commit b988f85f authored by mayank parshar's avatar mayank parshar Committed by Pierre Couillaud
Browse files

SurfaceFlinger: mFbFence initialization



MobC00383030
b/12487813

SurfaceFlinger crash is observed while connecting
to Wi-Fi display.

Note: change 14e8b01a
removed the initialization leading to the crash when
running through the HWC composition path.  Restore the
initialization to solve the problem.

Change-Id: I581defc7135ac512080c0da06a62b1dae7d218c4
Signed-off-by: default avatarmayank parshar <mayankp@broadcom.com>
Signed-off-by: default avatarPierre Couillaud <pierre@broadcom.com>
parent af29b77a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -458,6 +458,7 @@ void VirtualDisplaySurface::resetPerFrameState() {
    mCompositionType = COMPOSITION_UNKNOWN;
    mSinkBufferWidth = 0;
    mSinkBufferHeight = 0;
    mFbFence = Fence::NO_FENCE;
    mOutputFence = Fence::NO_FENCE;
    mOutputProducerSlot = -1;
}