diff options
author | Yorke Lee <yorkelee@google.com> | 2015-08-21 12:20:14 -0700 |
---|---|---|
committer | Yorke Lee <yorkelee@google.com> | 2015-08-21 12:20:14 -0700 |
commit | 58f22abfaf54cf161650a0cbcb2be1510bf002b6 (patch) | |
tree | 2adba32ec6178716cc466d096f85bce8a2be3868 | |
parent | 3b2d7670f417c2db44538ff485963abd2796758b (diff) |
Use PhoneNumberUtils.formatNumber to format number
PhoneNumberHelper.formatNumber is a (now unneeded) direct copy
of PhoneNumberUtils.formatNumber
Change-Id: I9532531bcae4e3d85b4669549eed3824f6234575
-rw-r--r-- | InCallUI/src/com/android/incallui/CallerInfoAsyncQuery.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/InCallUI/src/com/android/incallui/CallerInfoAsyncQuery.java b/InCallUI/src/com/android/incallui/CallerInfoAsyncQuery.java index bd766d675..046b77745 100644 --- a/InCallUI/src/com/android/incallui/CallerInfoAsyncQuery.java +++ b/InCallUI/src/com/android/incallui/CallerInfoAsyncQuery.java @@ -288,7 +288,7 @@ public class CallerInfoAsyncQuery { // Use the number entered by the user for display. if (!TextUtils.isEmpty(cw.number)) { - mCallerInfo.phoneNumber = PhoneNumberHelper.formatNumber(cw.number, + mCallerInfo.phoneNumber = PhoneNumberUtils.formatNumber(cw.number, mCallerInfo.normalizedNumber, TelephonyManagerUtils.getCurrentCountryIso(mQueryContext, Locale.getDefault())); |