propagate testing state when tag discovered
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user