diff options
author | 2019-02-20 08:38:30 +0000 | |
---|---|---|
committer | 2019-02-20 08:38:30 +0000 | |
commit | a3c3cf435218105866bca6efa6f3b48bf99fcbab (patch) | |
tree | 273ed53c15b7d7f2ef6d9aa4585080cac8ee0881 /graphics/java | |
parent | 121a206dad3d6cf65c6842f8f2cae12005621005 (diff) | |
parent | 22273c3f318f1c102dd909774f245a29c55b3c11 (diff) |
Merge "Hide sSystemFontMap in Typeface."
Diffstat (limited to 'graphics/java')
-rw-r--r-- | graphics/java/android/graphics/Typeface.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/java/android/graphics/Typeface.java b/graphics/java/android/graphics/Typeface.java index ef9255f66695..e93e757410e0 100644 --- a/graphics/java/android/graphics/Typeface.java +++ b/graphics/java/android/graphics/Typeface.java @@ -128,7 +128,8 @@ public class Typeface { // Following two fields are not used but left for hiddenapi private list /** - * Use {@link SystemFonts#getAvailableFonts()} instead. + * sSystemFontMap is read only and unmodifiable. + * Use public API {@link #create(String, int)} to get the typeface for given familyName. */ @UnsupportedAppUsage(trackingBug = 123769347) static final Map<String, Typeface> sSystemFontMap; |