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

Commit 95d486f9 authored by Muralidhar Reddy Mule's avatar Muralidhar Reddy Mule Committed by Android (Google) Code Review
Browse files

Merge "[MEP] Enable iccCloseLogicalChannelWithSessionInfo API" into udc-dev

parents e35e4bc8 29368448
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);