From 3a29070961f0e13eb7ff104c292148173fd90bf5 Mon Sep 17 00:00:00 2001 From: Michael Wright Date: Wed, 27 Oct 2021 12:24:23 +0100 Subject: Add constant for SC V2. Bug: 204295952 Test: N/A Merged-In: Ieecebfccf9366815c93d620b70aeabc1abcd3ebd Change-Id: I6597299374715153e8e63d43b44949df76f9ab26 --- core/api/current.txt | 1 + core/java/android/os/Build.java | 10 +++++++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/core/api/current.txt b/core/api/current.txt index 6a72017c9610..d6a79159e13e 100644 --- a/core/api/current.txt +++ b/core/api/current.txt @@ -29675,6 +29675,7 @@ package android.os { field public static final int Q = 29; // 0x1d field public static final int R = 30; // 0x1e field public static final int S = 31; // 0x1f + field public static final int S_V2 = 32; // 0x20 field public static final int TIRAMISU = 10000; // 0x2710 } diff --git a/core/java/android/os/Build.java b/core/java/android/os/Build.java index 6863a0b76b03..f46f45228f07 100755 --- a/core/java/android/os/Build.java +++ b/core/java/android/os/Build.java @@ -1037,7 +1037,7 @@ public class Build { * will also enable {@link StrictMode.ThreadPolicy.Builder#detectUnbufferedIo}. *
  • {@link android.provider.DocumentsContract}'s various methods will throw failure * exceptions back to the caller instead of returning null. - *
  • {@link View#hasFocusable View.hasFocusable} now includes auto-focusable views.
  • + *
  • {@link View#hasFocusable() View.hasFocusable} now includes auto-focusable views.
  • *
  • {@link android.view.SurfaceView} will no longer always change the underlying * Surface object when something about it changes; apps need to look at the current * state of the object to determine which things they are interested in have changed.
  • @@ -1144,6 +1144,14 @@ public class Build { */ public static final int S = 31; + /** + * S V2. + * + * Once more unto the breach, dear friends, once more. + * + */ + public static final int S_V2 = 32; + /** * Tiramisu. */ -- cgit v1.2.3-59-g8ed1b