AI2 Component
(Version nb184)
|
Static Public Member Functions | |
static String | formatNumber (String number) |
Helper methods for calling APIs added in LOLLIPOP (5.0, API Level 21)
Definition at line 18 of file LollipopUtil.java.
|
static |
Format a phone number based on the number's country code, falling back to the format defined by the user's current locale. This is to replace calling PhoneNumberUtils#formatNumber(String), which was deprecated in the LOLLIPOP release.
number | The phone number to be formatted |
Definition at line 34 of file LollipopUtil.java.