From cb6ddc04ec80a9902e63d7c18d5dfa50e7464a71 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 Merged-In: Ic251b4b0d7b2896b14bc55c3b09093c06600b16b Change-Id: Ic251b4b0d7b2896b14bc55c3b09093c06600b16b (cherry picked from commit c6dcd53490bf59101f0fc185311ee63d08b6b806) --- api/current.txt | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/api/current.txt b/api/current.txt index 1b7f6e56667d4..af34d39b50cea 100644 --- a/api/current.txt +++ b/api/current.txt @@ -20096,8 +20096,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); @@ -20120,8 +20119,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); }