summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2016-04-20 23:54:20 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2016-04-20 23:54:20 -0700
commit83f6d7921826802781618763918b89445c5feb12 (patch)
tree4d5f975914518e5ae5279463dfd6fd573a966efc /src
parent76a44b0e9ad3e053850f649da013753f1e1a24b7 (diff)
parent0aeb4da27ce8115b733e6585ea5812bebc04cf52 (diff)
downloadandroid_packages_apps_Gallery2-83f6d7921826802781618763918b89445c5feb12.tar.gz
android_packages_apps_Gallery2-83f6d7921826802781618763918b89445c5feb12.tar.bz2
android_packages_apps_Gallery2-83f6d7921826802781618763918b89445c5feb12.zip
Merge "Gallery2: fix photo count display abnormal on Timeline title." into android_ui.lnx.1.2-dev
Diffstat (limited to 'src')
-rwxr-xr-xsrc/com/android/gallery3d/ui/TimeLineTitleMaker.java2
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);
}