Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3e637042 authored by Xavier Ducrohet's avatar Xavier Ducrohet Committed by Android (Google) Code Review
Browse files

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

parents 01825b7a 13aea18b
Loading
Loading
Loading
Loading
+3 −0
Original line number Original line Diff line number Diff line
@@ -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) {