Merge "Remove the UICC specific code from android.se.omapi"
This commit is contained in:
@@ -301,12 +301,6 @@ public class Session {
|
|||||||
* provide a new logical channel.
|
* provide a new logical channel.
|
||||||
*/
|
*/
|
||||||
public @Nullable Channel openLogicalChannel(byte[] aid, byte p2) throws IOException {
|
public @Nullable Channel openLogicalChannel(byte[] aid, byte p2) throws IOException {
|
||||||
|
|
||||||
if ((mReader.getName().startsWith("SIM")) && (aid == null)) {
|
|
||||||
Log.e(TAG, "NULL AID not supported on " + mReader.getName());
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!mService.isConnected()) {
|
if (!mService.isConnected()) {
|
||||||
throw new IllegalStateException("service not connected to system");
|
throw new IllegalStateException("service not connected to system");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user