Remove clone() and "implements Cloneable" from android.icu.number.Precision and ScientificNotation

The API was first made public in R. This API change will be made into
the same platform version.

Bug: 151133612
Test: m droid
Change-Id: Ic251b4b0d7b2896b14bc55c3b09093c06600b16b
This commit is contained in:
Victor Chang
2020-03-12 23:52:31 +00:00
parent 49383400cf
commit c6dcd53490

View File

@@ -19555,8 +19555,7 @@ package android.icu.number {
method public T numberFormatterSecond(android.icu.number.UnlocalizedNumberFormatter); method public T numberFormatterSecond(android.icu.number.UnlocalizedNumberFormatter);
} }
public abstract class Precision implements java.lang.Cloneable { public abstract class Precision {
method public Object clone();
method public static android.icu.number.CurrencyPrecision currency(android.icu.util.Currency.CurrencyUsage); method public static android.icu.number.CurrencyPrecision currency(android.icu.util.Currency.CurrencyUsage);
method public static android.icu.number.FractionPrecision fixedFraction(int); method public static android.icu.number.FractionPrecision fixedFraction(int);
method public static android.icu.number.Precision fixedSignificantDigits(int); method public static android.icu.number.Precision fixedSignificantDigits(int);
@@ -19579,8 +19578,7 @@ package android.icu.number {
method public static android.icu.number.Scale powerOfTen(int); method public static android.icu.number.Scale powerOfTen(int);
} }
public class ScientificNotation extends android.icu.number.Notation implements java.lang.Cloneable { public class ScientificNotation extends android.icu.number.Notation {
method public Object clone();
method public android.icu.number.ScientificNotation withExponentSignDisplay(android.icu.number.NumberFormatter.SignDisplay); method public android.icu.number.ScientificNotation withExponentSignDisplay(android.icu.number.NumberFormatter.SignDisplay);
method public android.icu.number.ScientificNotation withMinExponentDigits(int); method public android.icu.number.ScientificNotation withMinExponentDigits(int);
} }