open-keychain/OpenKeychain/src
Peter Cai 8f9728cd60 Catch SecurityException from using a stale Tag object
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.
2022-12-12 18:27:40 -05:00
..
androidTest/assets more build system updates, ditch unused android tests 2020-05-30 20:06:50 +02:00
debug/res Add adaptive icons, fixes #2273 2018-07-13 01:24:28 +02:00
google Add donation fragment 2016-02-09 20:48:24 +01:00
main Catch SecurityException from using a stale Tag object 2022-12-12 18:27:40 -05:00
test Update SplitUserIdTest.java 2021-05-02 19:23:02 +05:30