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

Commit f19176ff authored by Robert Greenwalt's avatar Robert Greenwalt Committed by Gerrit Code Review
Browse files

Merge "Add + code handling logic for SMS Global Roaming"

parents 247e828b a423a279
Loading
Loading
Loading
Loading
+7 −3
Original line number Diff line number Diff line
@@ -2285,9 +2285,13 @@ public class PhoneNumberUtils
    }

    private static String getCurrentIdp(boolean useNanp) {
        String ps = null;
        if(useNanp)
            ps = NANP_IDP_STRING;
        else{
            // in case, there is no IDD is found, we shouldn't convert it.
        String ps = SystemProperties.get(
                PROPERTY_OPERATOR_IDP_STRING, useNanp ? NANP_IDP_STRING : PLUS_SIGN_STRING);
            ps = SystemProperties.get(PROPERTY_OPERATOR_IDP_STRING, PLUS_SIGN_STRING);                
        }
        return ps;
    }