commit | 44b99c22af84331068935a9bc3e807165a88237c | [log] [tgz] |
---|---|---|
author | Mark Salyzyn <salyzyn@google.com> | Wed Jan 08 12:44:23 2014 -0800 |
committer | Mark Salyzyn <salyzyn@google.com> | Mon Jan 27 15:22:49 2014 -0800 |
tree | 6f2641e55435a0b47946d323b966543ae08e9061 | |
parent | 23f04107dcedcef22556c1f57502cdddbfa2663f [diff] |
libsysutils: SocketListener export release * Foreground thread (legacy) closes connection by reporting false return value for onDataAvailable. * Background thread can choose instead to close the connection asynchronously by calling release, must return true for the onDataAvailable method. (cherry picked from commit d7ad4e409eaac53db3a9789060097b712850b337) Change-Id: I70ab37d5c22b02804aa3b4dfb26cc9b75291f8b6