Loading core/java/android/text/TextUtils.java +1 −1 Original line number Diff line number Diff line Loading @@ -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; Loading Loading
core/java/android/text/TextUtils.java +1 −1 Original line number Diff line number Diff line Loading @@ -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; Loading