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

This commit is contained in:
TreeHugger Robot
2018-03-13 21:56:52 +00:00
committed by Android (Google) Code Review

View File

@@ -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.