summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorke Lee <yorkelee@google.com>2015-08-21 12:20:14 -0700
committerYorke Lee <yorkelee@google.com>2015-08-21 12:20:14 -0700
commit58f22abfaf54cf161650a0cbcb2be1510bf002b6 (patch)
tree2adba32ec6178716cc466d096f85bce8a2be3868
parent3b2d7670f417c2db44538ff485963abd2796758b (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.java2
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()));