Applications are not supposed to be able to do any I/O using a stale Tag object. This was not checked in older Android versions, but enforced later since Android 13 (and possibly in Android 12L). When we are checking for a disconnected tag, the Tag object can become stale if the same tag (or another tag) gets rediscovered. In addition, if NfcService is restarted for some reason, the cookie value used to check for this will also be reset to 0. In any case, a SecurityException could be raised when checking for a disconnected tag, and we should be able to handle this case. |
||
---|---|---|
.. | ||
src | ||
build.gradle | ||
proguard-rules-base.pro | ||
proguard-rules-bouncycastle.pro | ||
proguard-rules-okhttp.pro | ||
proguard-rules-okio.pro | ||
proguard-rules-support.pro | ||
proguard-rules-test.pro |