Updated on 2026-08-14

This commit is contained in:
Tangem 2018-10-18 17:49:35 +03:00
parent 0856e3dcbc
commit e1999ed34f
8 changed files with 35 additions and 14 deletions

View file

@ -307,7 +307,7 @@ public class CardProtocol {
mNotifications.onReadAfterRequest();
}
} catch (IOException e) {
if (e.getMessage().contains("length exceeds supported maximum") && mIsoDep.isExtendedLengthApduSupported()) {
if (e.getMessage().contains("length")) {
throw new TangemException_ExtendedLengthNotSupported(e.getMessage());
}
throw e;