diff options
author | Chao Zhang <chaoz@codeaurora.org> | 2016-04-19 18:38:55 +0800 |
---|---|---|
committer | Chao Zhang <chaoz@codeaurora.org> | 2016-04-19 18:40:04 +0800 |
commit | 0aeb4da27ce8115b733e6585ea5812bebc04cf52 (patch) | |
tree | 2ea6e7dc29d48cc9f645e13349fb212cd8f608e1 /src/com/android/gallery3d/ui | |
parent | 0d1eba0d115ffc12576cc441239e76d97f755173 (diff) | |
download | android_packages_apps_Gallery2-0aeb4da27ce8115b733e6585ea5812bebc04cf52.tar.gz android_packages_apps_Gallery2-0aeb4da27ce8115b733e6585ea5812bebc04cf52.tar.bz2 android_packages_apps_Gallery2-0aeb4da27ce8115b733e6585ea5812bebc04cf52.zip |
Gallery2: fix photo count display abnormal on Timeline title.
Don't ellipsis photo count string on Timeline title.
Change-Id: I348bb6b31daff516c50530d4d393481041ada84e
CRs-Fixed: 1000943
Diffstat (limited to 'src/com/android/gallery3d/ui')
-rwxr-xr-x | src/com/android/gallery3d/ui/TimeLineTitleMaker.java | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/com/android/gallery3d/ui/TimeLineTitleMaker.java b/src/com/android/gallery3d/ui/TimeLineTitleMaker.java index c154f369d..2b368753a 100755 --- a/src/com/android/gallery3d/ui/TimeLineTitleMaker.java +++ b/src/com/android/gallery3d/ui/TimeLineTitleMaker.java @@ -78,8 +78,6 @@ public class TimeLineTitleMaker { static void drawText(Canvas canvas, int x, int y, String text, int lengthLimit, TextPaint p) { - text = TextUtils.ellipsize( - text, p, lengthLimit, TextUtils.TruncateAt.END).toString(); canvas.drawText(text, x, y - p.getFontMetricsInt().ascent, p); } |