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

Commit 461ba614 authored by Ruchi Kandoi's avatar Ruchi Kandoi Committed by android-build-merger
Browse files

Merge "Remove the UICC specific code from android.se.omapi" am: 56be32e1 am: 5800d2b2

am: 0eb3372d

Change-Id: I9d6a16357cb0d1d84cc3d5546dbe0dd6e9d2612a
parents ccf1186b 0eb3372d
Loading
Loading
Loading
Loading
+0 −6
Original line number Original line Diff line number Diff line
@@ -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");
        }
        }