Revive old method to prevent crash internal app.

Bug: 36509029
Test: N/A
Change-Id: I4e04847de7b61a790323257c09da9a960a6689d5
(cherry picked from commit 2660aca4912b4bd890c5c76688f67f1898dc7b97)
diff --git a/graphics/java/android/graphics/FontFamily.java b/graphics/java/android/graphics/FontFamily.java
index 1b25a62..6214ba6 100644
--- a/graphics/java/android/graphics/FontFamily.java
+++ b/graphics/java/android/graphics/FontFamily.java
@@ -142,6 +142,11 @@
                 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