diff options
| author | 2014-04-29 16:14:14 -0700 | |
|---|---|---|
| committer | 2014-05-01 10:37:33 -0700 | |
| commit | 0b63cd105cae094c21aafaa2bac8322427e75827 (patch) | |
| tree | 0a0154d710b66628c01491503b4421d08710841f /libs/ui/FramebufferNativeWindow.cpp | |
| parent | 5d112a7dd60801b9993778624bcf9092a596ad62 (diff) | |
Handle failed requestBuffer after successful dequeueBuffer
If the virtual display consumer disconnects after the
VirtualDisplaySurface dequeues a buffer but before it requests it, the
request will fail. Previously the error was ignored, and the caller
would get a success result but a NULL buffer. Now the dequeued buffer
is cancelled and the error propagated to the caller.
Bug: 14140551
Change-Id: I91547885c2cf6063dc7a8f02d97f2df282cdde2c
Diffstat (limited to 'libs/ui/FramebufferNativeWindow.cpp')
0 files changed, 0 insertions, 0 deletions