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

Commit 95a2912e authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Rectifying comments in isSimPortAvailable"

parents fcc91a29 3839ad66
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)