From c6dcd53490bf59101f0fc185311ee63d08b6b806 Mon Sep 17 00:00:00 2001 From: Victor Chang Date: Thu, 12 Mar 2020 23:52:31 +0000 Subject: [PATCH] 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 --- api/current.txt | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/api/current.txt b/api/current.txt index 0f37db2b586f3..02a2c696fbfae 100644 --- a/api/current.txt +++ b/api/current.txt @@ -19555,8 +19555,7 @@ package android.icu.number { method public T numberFormatterSecond(android.icu.number.UnlocalizedNumberFormatter); } - public abstract class Precision implements java.lang.Cloneable { - method public Object clone(); + public abstract class Precision { 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.Precision fixedSignificantDigits(int); @@ -19579,8 +19578,7 @@ package android.icu.number { method public static android.icu.number.Scale powerOfTen(int); } - public class ScientificNotation extends android.icu.number.Notation implements java.lang.Cloneable { - method public Object clone(); + public class ScientificNotation extends android.icu.number.Notation { method public android.icu.number.ScientificNotation withExponentSignDisplay(android.icu.number.NumberFormatter.SignDisplay); method public android.icu.number.ScientificNotation withMinExponentDigits(int); }