fixed halucinated tag when resuming the app

This commit is contained in:
Frank Morgner
2014-09-26 02:44:56 +02:00
parent 1bcfd0c795
commit bb6f28a9fa

View File

@@ -113,6 +113,7 @@ public class NFCReader implements SCReader {
Tag tag = (Tag) intent.getParcelableExtra(NfcAdapter.EXTRA_TAG);
if (tag != null) {
nfcReader = new NFCReader(IsoDep.get(tag));
intent.removeExtra(NfcAdapter.EXTRA_TAG);
}
}