propagate testing state when tag discovered

This commit is contained in:
Frank Morgner
2014-11-03 23:38:59 +01:00
parent 478353832a
commit 441be5b489

View File

@@ -201,6 +201,7 @@ public class MainActivity extends Activity implements NfcAdapter.ReaderCallback
if (nfcReader != null) { if (nfcReader != null) {
/* avoid updating UI components since this may end up on a non ui thread */ /* avoid updating UI components since this may end up on a non ui thread */
vpcdDisconnect(); vpcdDisconnect();
testing = true;
vpcdConnect(nfcReader); vpcdConnect(nfcReader);
} }
} }