commit | 0b63cd105cae094c21aafaa2bac8322427e75827 | [log] [tgz] |
---|---|---|
author | Jesse Hall <jessehall@google.com> | Tue Apr 29 16:14:14 2014 -0700 |
committer | Jesse Hall <jessehall@google.com> | Thu May 01 10:37:33 2014 -0700 |
tree | 0a0154d710b66628c01491503b4421d08710841f | |
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