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

Commit 0bfdbaff authored by Sergio Rodriguez Orama's avatar Sergio Rodriguez Orama Committed by Android (Google) Code Review
Browse files

Revert "[MEP] Enable iccCloseLogicalChannelWithSessionInfo API"

This reverts commit 29368448.

Reason for revert: b/274860626

Change-Id: Ib5dda2efb1a07313f98dd03e4e71e4df3f865519
parent 29368448
Loading
Loading
Loading
Loading
+8 −5
Original line number Diff line number Diff line
@@ -283,11 +283,14 @@ public class RadioSimProxy extends RadioServiceProxy {
        if (isEmpty()) return;
        if (isAidl()) {
            if (mHalVersion.greaterOrEqual(RIL.RADIO_HAL_VERSION_2_1)) {
                android.hardware.radio.sim.SessionInfo info =
                        new android.hardware.radio.sim.SessionInfo();
                info.sessionId = channelId;
                info.isEs10 = isEs10;
                mSimProxy.iccCloseLogicalChannelWithSessionInfo(serial, info);
                // TODO: [MEP-A1] Use iccCloseLogicalChannelWithSessionInfo API once vendor
                //  changes are completed.
                //android.hardware.radio.sim.SessionInfo info =
                //        new android.hardware.radio.sim.SessionInfo();
                //info.sessionId = channelId;
                //info.isEs10 = isEs10;
                //mSimProxy.iccCloseLogicalChannelWithSessionInfo(serial, info);
                mSimProxy.iccCloseLogicalChannel(serial, channelId);
                return;
            }
            mSimProxy.iccCloseLogicalChannel(serial, channelId);