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

Commit 2a820bdf authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Revive old method to prevent crash internal app."

parents 874a0916 2660aca4
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -142,6 +142,11 @@ public class FontFamily {
                isItalic);
    }

    // TODO: Remove once internal user stop using private API.
    private static boolean nAddFont(long builderPtr, ByteBuffer font, int ttcIndex) {
        return nAddFont(builderPtr, font, ttcIndex, -1, -1);
    }

    private static native long nInitBuilder(String lang, int variant);

    @CriticalNative