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

Commit a5681040 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

am: 9b8e53d4

Change-Id: I2d6b91abd94823c8fb5d0fd95a5ae89486dc783e
parents 32f57d2a 9b8e53d4
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.