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

Skip to content
Commit 209e5fb1 authored by Tobin Ehlis's avatar Tobin Ehlis
Browse files

BnGraphicBufferProducer: Add null fence checks

Add null fence checks to BnGraphicBufferProducer::onTransact
DEQUEUE_BUFFER and GET_LAST_QUEUED_BUFFER cases. If we do find a null
fence, set to Fence::NO_FENCE and log an error.
This will avoid a crash. There still may be a synchronization issue
with NO_FENCE, but a glitch is favorable to a crash and the extra error
logging will help isolate any null fence issues going forward.

Fix: 124395884
Test: builds
Change-Id: I458aadf183e638dea04a9457cc7df5579a7e8046
parent 42f8ae92
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment