commit | 10389c11abdae4c794082f6c51f11b28b422eddb | [log] [tgz] |
---|---|---|
author | Martijn Coenen <martijn.coenen@nxp.com> | Thu Feb 03 17:52:10 2011 +0100 |
committer | Nick Pelly <npelly@google.com> | Fri Feb 18 02:07:52 2011 -0800 |
tree | d395f08a127c9e5c0a03ff65098a5fb8c63dc187 | |
parent | 221b4d6ee301fbfe19402798f7d3c11e6878c888 [diff] |
Fix race in NFC tag registry/dispatch. The tag handle was only registered after the dispatch; with the "normal" dispatch the activity would take a while to start and this problem would not be seen. With foreground dispatch however, if you'd immediately try to connect to a tag, sometimes the tag handle is not registered yet, causing the connect() to fail. Change-Id: I92b5e36a5d8f08e410a656d364e88bce2d25c854