summaryrefslogtreecommitdiff
path: root/libs/gui/BufferQueue.cpp
diff options
context:
space:
mode:
author Tobin Ehlis <tobine@google.com> 2019-03-26 14:06:29 -0600
committer Tobin Ehlis <tobine@google.com> 2019-03-26 14:17:18 -0600
commit209e5fb15ee604030bfcbd585f279ac9508a05d3 (patch)
tree586a296f9c9dfea6066d1908e240f552225efc49 /libs/gui/BufferQueue.cpp
parent42f8ae9276c7ec45c85b00a93d5b629271f81ab5 (diff)
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
Diffstat (limited to 'libs/gui/BufferQueue.cpp')
0 files changed, 0 insertions, 0 deletions