am 9e2dadae: am bcbeaf83: Set default text style in layoutlib as NORMAL [DO NOT MERGE]

* commit '9e2dadaee0d04b43cf41ed32b4a9ec59503f4477':
  Set default text style in layoutlib as NORMAL [DO NOT MERGE]
This commit is contained in:
Deepanshu Gupta
2014-05-02 19:27:17 +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) {