Merge "Update Javadoc to clarify format for country ISO." into udc-dev am: f9a43c05a0

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/21644763

Change-Id: I1fa1c1fa97575c84bacc0df316a65a5e89108e80
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
TreeHugger Robot
2023-02-28 22:08:29 +00:00
committed by Automerger Merge Worker

View File

@@ -1526,7 +1526,7 @@ public class PhoneNumberUtils {
* Formats the specified {@code phoneNumber} to the E.164 representation.
*
* @param phoneNumber the phone number to format.
* @param defaultCountryIso the ISO 3166-1 two letters country code.
* @param defaultCountryIso the ISO 3166-1 two letters country code in UPPER CASE.
* @return the E.164 representation, or null if the given phone number is not valid.
*/
public static String formatNumberToE164(String phoneNumber, String defaultCountryIso) {
@@ -1537,7 +1537,7 @@ public class PhoneNumberUtils {
* Formats the specified {@code phoneNumber} to the RFC3966 representation.
*
* @param phoneNumber the phone number to format.
* @param defaultCountryIso the ISO 3166-1 two letters country code.
* @param defaultCountryIso the ISO 3166-1 two letters country code in UPPER CASE.
* @return the RFC3966 representation, or null if the given phone number is not valid.
*/
public static String formatNumberToRFC3966(String phoneNumber, String defaultCountryIso) {