Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 37ddb966 authored by Yoshiaki Naka's avatar Yoshiaki Naka Committed by Ruchi Kandoi
Browse files

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
parent 2b9620cc
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -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");
        }