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

Commit 7b1c067b authored by Kenny Root's avatar Kenny Root Committed by Android (Google) Code Review
Browse files

Merge "Correct use of logical AND"

parents 574ecc8e 7ae17760
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -1654,7 +1654,7 @@ public class PhoneNumberUtils
        if (DBG) log("processPlusCodeWithinNanp,networkDialStr=" + networkDialStr);
        if (DBG) log("processPlusCodeWithinNanp,networkDialStr=" + networkDialStr);
        // If there is a plus sign at the beginning of the dial string,
        // If there is a plus sign at the beginning of the dial string,
        // Convert the plus sign to the default IDP since it's an international number
        // Convert the plus sign to the default IDP since it's an international number
        if (networkDialStr != null &
        if (networkDialStr != null &&
            networkDialStr.charAt(0) == PLUS_SIGN_CHAR &&
            networkDialStr.charAt(0) == PLUS_SIGN_CHAR &&
            networkDialStr.length() > 1) {
            networkDialStr.length() > 1) {
            String newStr = networkDialStr.substring(1);
            String newStr = networkDialStr.substring(1);