Merge "Deprecate AlteredCharSequence"

am: ea4916dac7

Change-Id: I40fe5070fe6475db5eb7f692b78b96e20c30b3d7
This commit is contained in:
Charles Munger
2019-12-10 08:27:10 -08:00
committed by android-build-merger
2 changed files with 9 additions and 7 deletions

View File

@@ -46069,12 +46069,12 @@ package android.telephony.mbms {
package android.text {
public class AlteredCharSequence implements java.lang.CharSequence android.text.GetChars {
method public char charAt(int);
method public void getChars(int, int, char[], int);
method public int length();
method public static android.text.AlteredCharSequence make(CharSequence, char[], int, int);
method public CharSequence subSequence(int, int);
@Deprecated public class AlteredCharSequence implements java.lang.CharSequence android.text.GetChars {
method @Deprecated public char charAt(int);
method @Deprecated public void getChars(int, int, char[], int);
method @Deprecated public int length();
method @Deprecated public static android.text.AlteredCharSequence make(CharSequence, char[], int, int);
method @Deprecated public CharSequence subSequence(int, int);
}
@Deprecated public class AndroidCharacter {

View File

@@ -16,12 +16,14 @@
package android.text;
// XXX should this really be in the public API at all?
/**
* An AlteredCharSequence is a CharSequence that is largely mirrored from
* another CharSequence, except that a specified range of characters are
* mirrored from a different char array instead.
*
* @deprecated The functionality this class offers is easily implemented outside the framework.
*/
@Deprecated
public class AlteredCharSequence
implements CharSequence, GetChars
{