Merge "Revive old private api for saving supportlib-v27" into pi-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
cd9a549e36
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user