diff options
author | Yorke Lee <yorkelee@google.com> | 2013-10-30 14:30:28 -0700 |
---|---|---|
committer | Yorke Lee <yorkelee@google.com> | 2013-10-30 14:30:28 -0700 |
commit | 6e4933a223de29b715e76c5d9da02381fba38e84 (patch) | |
tree | 61bc517a42328c7d7066896a3ed57ba07e619777 /src | |
parent | 4c57ab6a3e4758c948f7f8e714525c5490706c91 (diff) | |
download | packages_apps_ContactsCommon-6e4933a223de29b715e76c5d9da02381fba38e84.tar.gz packages_apps_ContactsCommon-6e4933a223de29b715e76c5d9da02381fba38e84.tar.bz2 packages_apps_ContactsCommon-6e4933a223de29b715e76c5d9da02381fba38e84.zip |
Use TruncateAt.END instead of private TruncateAt.END_SMALL
Change-Id: I76e5705dd5ce849324fdf9d88c08bedaba76b993
Diffstat (limited to 'src')
-rw-r--r-- | src/com/android/contacts/common/list/ShortcutIntentBuilder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/contacts/common/list/ShortcutIntentBuilder.java b/src/com/android/contacts/common/list/ShortcutIntentBuilder.java index 4ac06644..b332dcec 100644 --- a/src/com/android/contacts/common/list/ShortcutIntentBuilder.java +++ b/src/com/android/contacts/common/list/ShortcutIntentBuilder.java @@ -400,7 +400,7 @@ public class ShortcutIntentBuilder { final float sidePadding = mBorderWidth; overlay = TextUtils.ellipsize(overlay, textPaint, mIconSize - 2 * sidePadding, - TruncateAt.END_SMALL); + TruncateAt.END); final float textWidth = textPaint.measureText(overlay, 0, overlay.length()); canvas.drawText(overlay, 0, overlay.length(), (mIconSize - textWidth) / 2, mIconSize - fmi.descent - textPadding, textPaint); |