am 3e637042: Merge "Set default text style in layoutlib as NORMAL [DO NOT MERGE]" into klp-dev

* commit '3e6370425ea3ac4e5d89ce042512913062212ccc':
  Set default text style in layoutlib as NORMAL [DO NOT MERGE]
This commit is contained in:
Xavier Ducrohet
2014-02-20 17:42:58 +00:00
committed by Android Git Automerger

View File

@@ -103,6 +103,9 @@ public final class Typeface_Delegate {
if (familyName == null) {
familyName = DEFAULT_FAMILY;
}
if (style < 0) {
style = Typeface.NORMAL;
}
Typeface_Delegate newDelegate = new Typeface_Delegate(familyName, style);
if (sFontLoader != null) {