commit | 6a7ba70ead03befb3d9387c4f7c5413f51fbecf2 | [log] [tgz] |
---|---|---|
author | Martijn Coenen <martijn.coenen@nxp.com> | Sun Feb 13 15:44:21 2011 +0100 |
committer | Nick Pelly <npelly@google.com> | Fri Feb 18 02:08:42 2011 -0800 |
tree | 94d141f8fa9213c1f9b639b335b392ecc28701a7 | |
parent | 10389c11abdae4c794082f6c51f11b28b422eddb [diff] |
Fix isConnected() implementation. The NFC API's isConnected() is mapped to isPresent on a NativeNfcTag object, which in turn uses a cached value. This value was however not updated properly when the internal presence check loop detected the tag to be gone. The cases where isConnected() does work properly are screen off and explicit disconnect. Change-Id: Ieac76ceb1f161ead772ce9fd2acf273b23caca37