diff options
| author | 2022-05-19 17:44:46 -0500 | |
|---|---|---|
| committer | 2022-05-19 17:53:48 -0500 | |
| commit | d1bda4b880e6e08ea5bb68d2e87a9c634f0a6668 (patch) | |
| tree | b5d5e3dd37da7f2df9979e357b172369ba5571b3 /libs/gui/BufferQueueThreadState.cpp | |
| parent | ceb84d050a7e1d284848ab996dea93b9a0c4ce3d (diff) | |
Handle null buffer when calling Transaction::setBuffer
When Transaction::setBuffer is called with a null buffer, we release the
old buffer and unset the eBufferChange flag
Test: SurfaceControlTest
Test: ReleaseBufferCallbackTest#SetBuffer_OverwriteBuffersWithNull
Fixes: 233252754
Change-Id: I5cde94916655f82d146bd9d66c170b71db983966
Diffstat (limited to 'libs/gui/BufferQueueThreadState.cpp')
0 files changed, 0 insertions, 0 deletions