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

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

SurfaceFlinger: mFbProducerSlot initailization



b/12487813

SurfaceFlinger crash is observed during simulation of
Secondary display

Note: change 14e8b01a
removed the initialization leading to the crash when
simulating secondary display.  Restore the initialization
to solve the problem.

Change-Id: Iae5845fb82735e01de5cc0dc582d13c27e3c614f
Signed-off-by: default avatarmayank parshar <mayankp@broadcom.com>
Signed-off-by: default avatarPierre Couillaud <pierre@broadcom.com>
parent 851b2cb1
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -461,6 +461,7 @@ void VirtualDisplaySurface::resetPerFrameState() {
    mFbFence = Fence::NO_FENCE;
    mOutputFence = Fence::NO_FENCE;
    mOutputProducerSlot = -1;
    mFbProducerSlot = -1;
}

status_t VirtualDisplaySurface::refreshOutputBuffer() {