summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Andrei-Valentin Onea <andreionea@google.com> 2020-11-09 14:58:38 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2020-11-09 14:58:38 +0000
commit5bba56e14703e97b9b80c6442e8988a4f4db46eb (patch)
tree30e3defb42215e0e22e1a8c0ada98cef14d5acb2
parentf8abe13db481533441caf8749c0d194613230a10 (diff)
parent4299e79da77d64be36c8f493f7555f1da6b14613 (diff)
Merge "Update DISALLOW_DUPLICATE_FIELD_IN_SKELETON"
-rwxr-xr-xcore/java/android/text/format/DateFormat.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/java/android/text/format/DateFormat.java b/core/java/android/text/format/DateFormat.java
index 640259e0e7eb..8900dfd30f47 100755
--- a/core/java/android/text/format/DateFormat.java
+++ b/core/java/android/text/format/DateFormat.java
@@ -19,7 +19,7 @@ package android.text.format;
import android.annotation.NonNull;
import android.app.compat.CompatChanges;
import android.compat.annotation.ChangeId;
-import android.compat.annotation.EnabledAfter;
+import android.compat.annotation.EnabledSince;
import android.compat.annotation.UnsupportedAppUsage;
import android.content.Context;
import android.icu.text.DateFormatSymbols;
@@ -169,7 +169,7 @@ public class DateFormat {
* mean using 12-hour in some locales and, in this case, is duplicated as the 'a' field.
*/
@ChangeId
- @EnabledAfter(targetSdkVersion = Build.VERSION_CODES.R)
+ @EnabledSince(targetSdkVersion = Build.VERSION_CODES.CUR_DEVELOPMENT)
static final long DISALLOW_DUPLICATE_FIELD_IN_SKELETON = 170233598L;
/**