diff options
| -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 acb46b39daf5..3933f508fe84 100644 --- a/graphics/java/android/graphics/Typeface.java +++ b/graphics/java/android/graphics/Typeface.java @@ -655,10 +655,11 @@ public class Typeface { * Returns the maximum capacity of custom fallback families. * * This includes the the first font family passed to the constructor. + * It is guaranteed that the value will be greater than or equal to 64. * * @return the maximum number of font families for the custom fallback */ - public static @IntRange(from = 1) int getMaxCustomFallbackCount() { + public static @IntRange(from = 64) int getMaxCustomFallbackCount() { return MAX_CUSTOM_FALLBACK; } |