commit | 2b39df7b8964739f7eb793c13392b73752c08460 | [log] [tgz] |
---|---|---|
author | Martijn Coenen <maco@google.com> | Mon Dec 11 11:10:34 2017 +0100 |
committer | Martijn Coenen <maco@google.com> | Tue Dec 12 08:49:18 2017 +0100 |
tree | e8ba1977ef83671d005f34cd521287d51b549d2f | |
parent | 5281f56377bebf9932b14cd7f6490117612acfc0 [diff] |
Accept EAGAIN on a binder transaction. A recent change to the binder kernel driver delays the delivery of BR_TRANSACTION_COMPLETE until a reply comes in. The binderDriverInterfaceTest uses the non-blocking interface, and assumes BR_TRANSACTION_COMPLETE comes in on the first read. I don't think we depend on this assumption in any of our real code, so change the test. Bug: 69442864 Test: binderDriverInterfaceTest passes Change-Id: Iafca061c1bb7badd6cb61b3e876d9c3bbfa18542