Remove method 'isExtendedLengthSupported' in AbstractActivationActivity
@@ -27,9 +27,6 @@ import android.content.Context;
import android.content.Intent;
import android.content.ServiceConnection;
import android.net.Uri;
-import android.nfc.NfcAdapter;
-import android.nfc.Tag;
-import android.nfc.tech.IsoDep;
import android.os.AsyncTask;
import android.os.Bundle;
import org.openecard.addon.bind.AuxDataKeys;
@@ -225,18 +222,6 @@ public abstract class AbstractActivationActivity extends Activity implements Bin
return eacAlreadyConnected;
}
- /**
- * This method proves if extended length APDU commands are supported. If extended length is supported, then
- * true is returned, otherwise false. This method should be used when a nfc tag comes over an intent.
- *
- * @param intent
- * @return
- */
- protected boolean isExtendedLengthSupported(Intent intent) {
- Tag tagFromIntent = intent.getParcelableExtra(NfcAdapter.EXTRA_TAG);
- return tagFromIntent != null ? IsoDep.get(tagFromIntent).isExtendedLengthApduSupported() : false;
- }
-
/**
* Implement this method to provide an instance of a service connection. The service connection is needed to
* connect to the Eac Gui Service.
