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

Commit 3839ad66 authored by sandeepjs's avatar sandeepjs
Browse files

Rectifying comments in isSimPortAvailable

Test: build
Bug: 159354974
Change-Id: Idb9e77846a59f217458f69592d63944a8f43b49e
parent 90783bca
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1625,8 +1625,8 @@ public class EuiccController extends IEuiccController.Stub {
                if (port == null) {
                    return false;
                }
                // port is available if port is inactive and ICCID or calling app has carrier
                // privilege over the profile installed on the selected port.
                //A port is available if it has no profiles enabled on it or calling app has
                //carrier privilege over the profile installed on the selected port.
                int result = port.getUiccProfile().getCarrierPrivilegeStatus(
                        mContext.getPackageManager(), callingPackage);
                if ((result == TelephonyManager.CARRIER_PRIVILEGE_STATUS_HAS_ACCESS)