diff options
author | Treehugger Robot <treehugger-gerrit@google.com> | 2018-03-27 06:37:08 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2018-03-27 06:37:08 +0000 |
commit | bc62b7254e513fb6bb190d8838be09780bf89714 (patch) | |
tree | de75b03528aae36b06fc402fa39d081250671048 /java/com/android/dialer/app/calllog/PhoneCallDetailsViews.java | |
parent | 966800d977660c8ce78d988af5284647d02d6555 (diff) | |
parent | f4b484485a4519a99d797bd9c0c1cc902cfc7414 (diff) |
Merge changes Ic7cb3be7,I412f8fbf,Ifebcbe87
* changes:
Correctly display phone numbers containing whitespaces in RTL context.
Add waiting for join banner to RTT outgoing call.
Allow user to delete previous bubbles.
Diffstat (limited to 'java/com/android/dialer/app/calllog/PhoneCallDetailsViews.java')
-rw-r--r-- | java/com/android/dialer/app/calllog/PhoneCallDetailsViews.java | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/java/com/android/dialer/app/calllog/PhoneCallDetailsViews.java b/java/com/android/dialer/app/calllog/PhoneCallDetailsViews.java index 8b7a92bd4..71cbc8c12 100644 --- a/java/com/android/dialer/app/calllog/PhoneCallDetailsViews.java +++ b/java/com/android/dialer/app/calllog/PhoneCallDetailsViews.java @@ -21,11 +21,12 @@ import android.view.View; import android.widget.TextView; import com.android.dialer.app.R; import com.android.dialer.calllogutils.CallTypeIconsView; +import com.android.dialer.widget.BidiTextView; /** Encapsulates the views that are used to display the details of a phone call in the call log. */ public final class PhoneCallDetailsViews { - public final TextView nameView; + public final BidiTextView nameView; public final View callTypeView; public final CallTypeIconsView callTypeIcons; public final TextView callLocationAndDate; @@ -36,7 +37,7 @@ public final class PhoneCallDetailsViews { public final TextView callAccountLabel; private PhoneCallDetailsViews( - TextView nameView, + BidiTextView nameView, View callTypeView, CallTypeIconsView callTypeIcons, TextView callLocationAndDate, @@ -65,7 +66,7 @@ public final class PhoneCallDetailsViews { */ public static PhoneCallDetailsViews fromView(View view) { return new PhoneCallDetailsViews( - (TextView) view.findViewById(R.id.name), + (BidiTextView) view.findViewById(R.id.name), view.findViewById(R.id.call_type), (CallTypeIconsView) view.findViewById(R.id.call_type_icons), (TextView) view.findViewById(R.id.call_location_and_date), @@ -78,7 +79,7 @@ public final class PhoneCallDetailsViews { public static PhoneCallDetailsViews createForTest(Context context) { return new PhoneCallDetailsViews( - new TextView(context), + new BidiTextView(context), new View(context), new CallTypeIconsView(context), new TextView(context), |