Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9eaefb82 authored by Brian Muramatsu's avatar Brian Muramatsu Committed by Android (Google) Code Review
Browse files

Merge "Fix TextUtils#commaEllipsize" into honeycomb

parents b0c939ad 4c8ad6eb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1142,7 +1142,7 @@ public class TextUtils {

                    // XXX this is probably ok, but need to look at it more
                    tempMt.setPara(format, 0, format.length(), request);
                    float moreWid = mt.addStyleRun(p, mt.mLen, null);
                    float moreWid = tempMt.addStyleRun(p, tempMt.mLen, null);

                    if (w + moreWid <= avail) {
                        ok = i + 1;