diff --git a/api/current.txt b/api/current.txt index d1b77f2c10960..11d7bac594e5d 100644 --- a/api/current.txt +++ b/api/current.txt @@ -15953,7 +15953,6 @@ package android.graphics.text { public class MeasuredText { method public void getBounds(@IntRange(from=0) int, @IntRange(from=0) int, @NonNull android.graphics.Rect); method @FloatRange(from=0.0f) @Px public float getCharWidthAt(@IntRange(from=0) int); - method @NonNull public char[] getChars(); method @FloatRange(from=0.0) @Px public float getWidth(@IntRange(from=0) int, @IntRange(from=0) int); } diff --git a/graphics/java/android/graphics/text/MeasuredText.java b/graphics/java/android/graphics/text/MeasuredText.java index 66bcd8650b95b..9db7533044e2f 100644 --- a/graphics/java/android/graphics/text/MeasuredText.java +++ b/graphics/java/android/graphics/text/MeasuredText.java @@ -65,6 +65,7 @@ public class MeasuredText { /** * Returns the characters in the paragraph used to compute this MeasuredText instance. + * @hide */ public @NonNull char[] getChars() { return mChars;