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

Commit 29368448 authored by Muralidhar Reddy's avatar Muralidhar Reddy Committed by Muralidhar Reddy Mule
Browse files

[MEP] Enable iccCloseLogicalChannelWithSessionInfo API

Modem changes to support the API are merged, hence enabling the API for Radio HAL V2.1

Test: Verified on Radio HAL V2.1 supported device
Bug: 268496310
Change-Id: I3044400682666e6a4fef0337c442ad255ca82d29
parent 6145f20b
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);