From 58f22abfaf54cf161650a0cbcb2be1510bf002b6 Mon Sep 17 00:00:00 2001 From: Yorke Lee Date: Fri, 21 Aug 2015 12:20:14 -0700 Subject: Use PhoneNumberUtils.formatNumber to format number PhoneNumberHelper.formatNumber is a (now unneeded) direct copy of PhoneNumberUtils.formatNumber Change-Id: I9532531bcae4e3d85b4669549eed3824f6234575 --- InCallUI/src/com/android/incallui/CallerInfoAsyncQuery.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'InCallUI/src') 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())); -- cgit v1.2.3