am 9eaefb82: Merge "Fix TextUtils#commaEllipsize" into honeycomb

* commit '9eaefb821396b2ac02fcf2cceb2f242a6eb55cf0':
  Fix TextUtils#commaEllipsize
This commit is contained in:
Brian Muramatsu
2011-01-28 14:53:07 -08:00
committed by Android Git Automerger

View File

@@ -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;