diff options
author | Treehugger Robot <treehugger-gerrit@google.com> | 2018-03-01 18:01:15 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2018-03-01 18:01:15 +0000 |
commit | 2e72cdf3c154d308613f3516882e38f666ba1097 (patch) | |
tree | 35825f02ce30399bc8b7bdf9a298ebff8affab14 /java/com/android/incallui/hold | |
parent | 4865a35f4b6eb3c0f987ac0917ee2a775429e447 (diff) | |
parent | 9e335e2d4fb43b22c7f95b2e9d4e048798e8e239 (diff) |
Merge changes I3d2b23b5,I9463e2c9
* changes:
Updating SecondaryInfo value class to use AutoValue with builder pattern.
Added same primes metrics that existed in Dialtacts to NUI.
Diffstat (limited to 'java/com/android/incallui/hold')
-rw-r--r-- | java/com/android/incallui/hold/OnHoldFragment.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/java/com/android/incallui/hold/OnHoldFragment.java b/java/com/android/incallui/hold/OnHoldFragment.java index 33ca158d3..bddb9bafb 100644 --- a/java/com/android/incallui/hold/OnHoldFragment.java +++ b/java/com/android/incallui/hold/OnHoldFragment.java @@ -59,14 +59,14 @@ public class OnHoldFragment extends Fragment { ((TextView) view.findViewById(R.id.hold_contact_name)) .setText( - secondaryInfo.nameIsNumber + secondaryInfo.nameIsNumber() ? PhoneNumberUtils.createTtsSpannable( BidiFormatter.getInstance() - .unicodeWrap(secondaryInfo.name, TextDirectionHeuristics.LTR)) - : secondaryInfo.name); + .unicodeWrap(secondaryInfo.name(), TextDirectionHeuristics.LTR)) + : secondaryInfo.name()); ((ImageView) view.findViewById(R.id.hold_phone_icon)) .setImageResource( - secondaryInfo.isVideoCall + secondaryInfo.isVideoCall() ? R.drawable.quantum_ic_videocam_white_18 : R.drawable.quantum_ic_phone_paused_vd_theme_24); view.addOnAttachStateChangeListener( |