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

Commit 880d12f0 authored by Muralidhar Reddy's avatar Muralidhar Reddy Committed by Automerger Merge Worker
Browse files

[MEP] Enable iccCloseLogicalChannelWithSessionInfo API am: 5d63759b

parents 0d3aab86 5d63759b
Loading
Loading
Loading
Loading
+5 −8
Original line number Diff line number Diff line
@@ -283,14 +283,11 @@ public class RadioSimProxy extends RadioServiceProxy {
        if (isEmpty()) return;
        if (isAidl()) {
            if (mHalVersion.greaterOrEqual(RIL.RADIO_HAL_VERSION_2_1)) {
                // 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);
                android.hardware.radio.sim.SessionInfo info =
                        new android.hardware.radio.sim.SessionInfo();
                info.sessionId = channelId;
                info.isEs10 = isEs10;
                mSimProxy.iccCloseLogicalChannelWithSessionInfo(serial, info);
                return;
            }
            mSimProxy.iccCloseLogicalChannel(serial, channelId);