am 0fe63473: am 04b4f8d1: Merge "Set default text style in layoutlib as NORMAL [DO NOT MERGE]" into jb-mr2-dev
* commit '0fe634737b24fd8f4dc8d0f49eb15ea176242428': Set default text style in layoutlib as NORMAL [DO NOT MERGE]
This commit is contained in:
@@ -103,6 +103,9 @@ public final class Typeface_Delegate {
|
|||||||
if (familyName == null) {
|
if (familyName == null) {
|
||||||
familyName = DEFAULT_FAMILY;
|
familyName = DEFAULT_FAMILY;
|
||||||
}
|
}
|
||||||
|
if (style < 0) {
|
||||||
|
style = Typeface.NORMAL;
|
||||||
|
}
|
||||||
|
|
||||||
Typeface_Delegate newDelegate = new Typeface_Delegate(familyName, style);
|
Typeface_Delegate newDelegate = new Typeface_Delegate(familyName, style);
|
||||||
if (sFontLoader != null) {
|
if (sFontLoader != null) {
|
||||||
|
|||||||
Reference in New Issue
Block a user