am be8db119: Merge "Fix NPE in Html.inParagraph()" into mnc-dev

* commit 'be8db119726a229ca687b99fcdb8a6a959648cd1':
  Fix NPE in Html.inParagraph()
This commit is contained in:
Raph Levien
2015-05-05 18:47:21 +00:00
committed by Android Git Automerger

View File

@@ -278,7 +278,7 @@ public class Html {
if (style[j] instanceof TypefaceSpan) {
String s = ((TypefaceSpan) style[j]).getFamily();
if (s.equals("monospace")) {
if ("monospace".equals(s)) {
out.append("<tt>");
}
}