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

Commit 6fd7a0c4 authored by Kohsuke Yatoh's avatar Kohsuke Yatoh
Browse files

Enable lazy typeface initialization.

Bug: 172891184
Test: atest FrameworksCoreTests:TypefaceTest
Test: atest CtsGraphicsTestCases
Test: atest CtsTextTestCases
Test: atest CtsWidgetTestCases
Change-Id: I958c33d40dd3bf510b6bdfe72021bd708eb7fd33
parent fe477521
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -82,7 +82,7 @@ public class Typeface {
    private static String TAG = "Typeface";

    /** @hide */
    public static final boolean ENABLE_LAZY_TYPEFACE_INITIALIZATION = false;
    public static final boolean ENABLE_LAZY_TYPEFACE_INITIALIZATION = true;

    private static final NativeAllocationRegistry sRegistry =
            NativeAllocationRegistry.createMalloced(