diff options
author | Brian Attwell <brianattwell@google.com> | 2015-06-02 13:26:24 -0700 |
---|---|---|
committer | Brian Attwell <brianattwell@google.com> | 2015-06-02 13:26:24 -0700 |
commit | 867abc05df88949d953e0130d340909bfd4d78c7 (patch) | |
tree | 59210a12bf402c98716ca897b11a10f68699d80f /src/com/android/incallui/CallCardFragment.java | |
parent | 2ab7e0d5f97b3269e6c8cc810a8031e337873208 (diff) | |
download | packages_apps_InCallUI-867abc05df88949d953e0130d340909bfd4d78c7.tar.gz packages_apps_InCallUI-867abc05df88949d953e0130d340909bfd4d78c7.tar.bz2 packages_apps_InCallUI-867abc05df88949d953e0130d340909bfd4d78c7.zip |
Rename PhoneNumberUtils APIs
In response to more API review.
Bug: 21571895
Change-Id: Ia1fa69da07a3427997919ba61c77fcbad7e79f2a
Diffstat (limited to 'src/com/android/incallui/CallCardFragment.java')
-rw-r--r-- | src/com/android/incallui/CallCardFragment.java | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/com/android/incallui/CallCardFragment.java b/src/com/android/incallui/CallCardFragment.java index 3211c478..b2d3402e 100644 --- a/src/com/android/incallui/CallCardFragment.java +++ b/src/com/android/incallui/CallCardFragment.java @@ -21,11 +21,7 @@ import android.animation.AnimatorListenerAdapter; import android.animation.AnimatorSet; import android.animation.LayoutTransition; import android.animation.ObjectAnimator; -import android.animation.ValueAnimator; -import android.animation.ValueAnimator.AnimatorUpdateListener; -import android.app.Activity; import android.content.Context; -import android.content.res.Configuration; import android.graphics.drawable.AnimationDrawable; import android.graphics.drawable.Drawable; import android.graphics.drawable.GradientDrawable; @@ -431,7 +427,7 @@ public class CallCardFragment extends BaseFragment<CallCardPresenter, CallCardPr mPrimaryName.setText(null); } else { mPrimaryName.setText(nameIsNumber - ? PhoneNumberUtils.getPhoneTtsSpannable(name) + ? PhoneNumberUtils.createTtsSpannable(name) : name); // Set direction of the name field @@ -457,7 +453,7 @@ public class CallCardFragment extends BaseFragment<CallCardPresenter, CallCardPr mPhoneNumber.setText(null); mPhoneNumber.setVisibility(View.GONE); } else { - mPhoneNumber.setText(PhoneNumberUtils.getPhoneTtsSpannable(number)); + mPhoneNumber.setText(PhoneNumberUtils.createTtsSpannable(number)); mPhoneNumber.setVisibility(View.VISIBLE); mPhoneNumber.setTextDirection(View.TEXT_DIRECTION_LTR); } @@ -515,7 +511,7 @@ public class CallCardFragment extends BaseFragment<CallCardPresenter, CallCardPr mSecondaryCallVideoCallIcon.setVisibility(isVideoCall ? View.VISIBLE : View.GONE); mSecondaryCallName.setText(nameIsNumber - ? PhoneNumberUtils.getPhoneTtsSpannable(name) + ? PhoneNumberUtils.createTtsSpannable(name) : name); if (hasProvider) { mSecondaryCallProviderLabel.setText(providerLabel); |