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

Commit 52f25f7b authored by Robert Greenwalt's avatar Robert Greenwalt Committed by Android Git Automerger
Browse files

am b73f431d: Merge "Add + code handling logic for SMS Global Roaming" automerge: f19176ff

* commit 'b73f431d':
  Add + code handling logic for SMS Global Roaming
parents f6b4b1a4 b73f431d
Loading
Loading
Loading
Loading
+7 −3
Original line number Diff line number Diff line
@@ -2361,9 +2361,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;
    }