Updated on 2026-08-14

This commit is contained in:
Tangem 2018-07-12 18:02:27 +03:00
parent 28066a7206
commit d26d31ebab
14 changed files with 121 additions and 57 deletions

View file

@ -69,6 +69,7 @@ public class SignPaymentTask extends Thread {
Log.i(TAG, "[-- Start sign payment --]");
if (isCancelled) return;
protocol.run_Read(false);
protocol.run_VerifyCard();
Log.i(TAG, "Manufacturer: " + protocol.getCard().getManufacturer().getOfficialName());
@ -102,7 +103,7 @@ public class SignPaymentTask extends Thread {
txStr = String.format("0x%s", txStr);
}
LastSignStorage.setLastTX(mCard.getWallet(), txStr);
//LastSignStorage.setLastTX(mCard.getWallet(), txStr);
Intent intent = new Intent(mContext, SendTransactionActivity.class);
intent.putExtra("UID", mCard.getUID());

View file

@ -57,7 +57,7 @@ public class VerifyCardTask extends Thread {
String PIN = mCard.getPIN();
protocol.setPIN(PIN);
protocol.run_Read();
protocol.run_Read(false);
PINStorage.setLastUsedPIN(PIN);
mNotifications.OnReadProgress(protocol, 30);
if (isCancelled) return;