diff options
author | Andrew Lee <anwlee@google.com> | 2015-09-09 00:36:35 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2015-09-09 00:36:35 +0000 |
commit | 7789824e4e1ef1f4d991e280543dff18a74f64e0 (patch) | |
tree | 0874b4a3886cf41b7bb8e6c0d3592f58d0295976 /InCallUI | |
parent | 7aa3c70e32c26933db5e7e98069ed3c8a814b979 (diff) | |
parent | 54941534738dc28391529cf546e2dea0e016c05d (diff) |
Merge "DO NOT MERGE Force conference call phone numbers to LTR." into ub-contactsdialer-a-dev
Diffstat (limited to 'InCallUI')
-rw-r--r-- | InCallUI/src/com/android/incallui/ConferenceParticipantListAdapter.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/InCallUI/src/com/android/incallui/ConferenceParticipantListAdapter.java b/InCallUI/src/com/android/incallui/ConferenceParticipantListAdapter.java index bdd81a95b..0e6d6e9c8 100644 --- a/InCallUI/src/com/android/incallui/ConferenceParticipantListAdapter.java +++ b/InCallUI/src/com/android/incallui/ConferenceParticipantListAdapter.java @@ -19,6 +19,8 @@ package com.android.incallui; import android.content.Context; import android.net.Uri; import android.telephony.PhoneNumberUtils; +import android.text.BidiFormatter; +import android.text.TextDirectionHeuristics; import android.text.TextUtils; import android.view.LayoutInflater; import android.view.View; @@ -418,7 +420,9 @@ public class ConferenceParticipantListAdapter extends BaseAdapter { numberTypeTextView.setVisibility(View.GONE); } else { numberTextView.setVisibility(View.VISIBLE); - numberTextView.setText(PhoneNumberUtils.createTtsSpannable(callerNumber)); + numberTextView.setText(PhoneNumberUtils.createTtsSpannable( + BidiFormatter.getInstance().unicodeWrap( + callerNumber, TextDirectionHeuristics.LTR))); numberTypeTextView.setVisibility(View.VISIBLE); numberTypeTextView.setText(callerNumberType); } |