summaryrefslogtreecommitdiffstats
path: root/java/com/android/incallui/contactgrid/BottomRow.java
diff options
context:
space:
mode:
Diffstat (limited to 'java/com/android/incallui/contactgrid/BottomRow.java')
-rw-r--r--java/com/android/incallui/contactgrid/BottomRow.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/java/com/android/incallui/contactgrid/BottomRow.java b/java/com/android/incallui/contactgrid/BottomRow.java
index d0ff1926a..228c786a0 100644
--- a/java/com/android/incallui/contactgrid/BottomRow.java
+++ b/java/com/android/incallui/contactgrid/BottomRow.java
@@ -22,6 +22,7 @@ import android.telephony.PhoneNumberUtils;
import android.text.BidiFormatter;
import android.text.TextDirectionHeuristics;
import android.text.TextUtils;
+import com.android.contacts.common.compat.PhoneNumberUtilsCompat;
import com.android.incallui.call.DialerCall.State;
import com.android.incallui.incall.protocol.PrimaryCallState;
import com.android.incallui.incall.protocol.PrimaryInfo;
@@ -136,7 +137,7 @@ public class BottomRow {
}
private static CharSequence spanDisplayNumber(String displayNumber) {
- return PhoneNumberUtils.createTtsSpannable(
+ return PhoneNumberUtilsCompat.createTtsSpannable(
BidiFormatter.getInstance().unicodeWrap(displayNumber, TextDirectionHeuristics.LTR));
}