Skip to content

Commit

Permalink
Fixed crash when reading a sector (Android 14).
Browse files Browse the repository at this point in the history
  • Loading branch information
ikarus23 committed Jan 27, 2024
1 parent c16b411 commit 46edc23
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ public String[] readSector(int sectorIndex, byte[] key,
Log.d(LOG_TAG, "(Recoverable) Error while reading block "
+ i + " from tag.");
blocks.add(NO_DATA);
if (!mMFC.isConnected()) {
if (!isConnected()) {
throw new TagLostException(
"Tag removed during readSector(...)");
}
Expand Down

0 comments on commit 46edc23

Please sign in to comment.