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

Commit 9b8e53d4 authored by Seigo Nonaka's avatar Seigo Nonaka Committed by android-build-merger
Browse files

Merge "Revive old private api for saving supportlib-v27" into pi-dev

am: cd9a549e

Change-Id: I4d9082ef13b0f6a0dd361550b91b3acca50175ef
parents 7e7879d5 cd9a549e
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -882,6 +882,15 @@ public class Typeface {
                ptrArray, RESOLVE_BY_FONT_TABLE, RESOLVE_BY_FONT_TABLE));
    }

    /**
     * This method is used by supportlib-v27.
     * TODO: Remove private API use in supportlib: http://b/72665240
     */
    private static Typeface createFromFamiliesWithDefault(FontFamily[] families, int weight,
                int italic) {
        return createFromFamiliesWithDefault(families, DEFAULT_FAMILY, weight, italic);
    }

    /**
     * Create a new typeface from an array of font families, including
     * also the font families in the fallback list.