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

am: cd9a549e36

Change-Id: I4d9082ef13b0f6a0dd361550b91b3acca50175ef
This commit is contained in:
Seigo Nonaka
2018-03-13 23:11:58 +00:00
committed by android-build-merger

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.