Remove the UICC specific code from android.se.omapi

It is better to remove the UICC specific code from frameworks/base. The
code will be moved to SecureElementSession.openLogicalChannel().

Bug: 73331557
Test: Confirmed that OMAPI TC 6.4.7 ID3b passed with this change.

Merged-In: I1dda1d741306b417b1b886cdcee5ef89f86390e3
Change-Id: I1dda1d741306b417b1b886cdcee5ef89f86390e3
This commit is contained in:
Yoshiaki Naka
2018-03-12 14:27:34 +09:00
committed by Ruchi Kandoi
parent 2b9620cc71
commit 37ddb9668b

View File

@@ -301,12 +301,6 @@ public class Session {
* provide a new logical channel.
*/
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()) {
throw new IllegalStateException("service not connected to system");
}