Skip to content

Commit

Permalink
Tryed to fix a strange crash on some devices.
Browse files Browse the repository at this point in the history
  • Loading branch information
ikarus23 committed May 4, 2024
1 parent 353f789 commit dafdb26
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ public void onReadMore(View view) {
private void updateTagInfo(Tag tag) {

if (tag != null) {
NfcA nfca = NfcA.get(tag);
// Check for MIFARE Classic support.
mMFCSupport = Common.checkMifareClassicSupport(tag, this);

Expand Down Expand Up @@ -157,7 +158,6 @@ private void updateTagInfo(Tag tag) {
uid += ", CL3";
}
uid += ")";
NfcA nfca = NfcA.get(tag);
// Swap ATQA to match the common order like shown here:
// http://nfc-tools.org/index.php?title=ISO14443A
byte[] atqaBytes = nfca.getAtqa();
Expand Down

0 comments on commit dafdb26

Please sign in to comment.