diff options
| author | 2023-10-30 22:05:16 +0000 | |
|---|---|---|
| committer | 2023-10-30 22:05:16 +0000 | |
| commit | 47a697e62721cbd51379754c26cadb2ce492f827 (patch) | |
| tree | 5463ae9bdea7734b3116af2755f357bcab665d72 | |
| parent | 42431ea15c15cc1a8929d72f5755c35f43cc07d8 (diff) | |
| parent | 3b16630e52c2d698320f2b40d2bdd1e0eb94acfb (diff) | |
Merge "Flag the android.os.Build.VERSION_CODES#VANILLA_ICE_CREAM constant" into main am: 3b16630e52
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2787111
Change-Id: I0638024a6d441dbfcfca05c928a225cc571fc61f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
| -rw-r--r-- | core/api/current.txt | 2 | ||||
| -rwxr-xr-x | core/java/android/os/Build.java | 2 | ||||
| -rw-r--r-- | core/java/android/os/flags.aconfig | 7 |
3 files changed, 10 insertions, 1 deletions
diff --git a/core/api/current.txt b/core/api/current.txt index 2c01ac6c8493..7cf7e19f865c 100644 --- a/core/api/current.txt +++ b/core/api/current.txt @@ -32664,7 +32664,7 @@ package android.os { field public static final int S_V2 = 32; // 0x20 field public static final int TIRAMISU = 33; // 0x21 field public static final int UPSIDE_DOWN_CAKE = 34; // 0x22 - field public static final int VANILLA_ICE_CREAM = 10000; // 0x2710 + field @FlaggedApi("android.os.android_os_build_vanilla_ice_cream") public static final int VANILLA_ICE_CREAM = 10000; // 0x2710 } public final class Bundle extends android.os.BaseBundle implements java.lang.Cloneable android.os.Parcelable { diff --git a/core/java/android/os/Build.java b/core/java/android/os/Build.java index 509c3b88441e..a9b7257a5406 100755 --- a/core/java/android/os/Build.java +++ b/core/java/android/os/Build.java @@ -17,6 +17,7 @@ package android.os; import android.Manifest; +import android.annotation.FlaggedApi; import android.annotation.NonNull; import android.annotation.Nullable; import android.annotation.RequiresPermission; @@ -1227,6 +1228,7 @@ public class Build { /** * Vanilla Ice Cream. */ + @FlaggedApi(Flags.FLAG_ANDROID_OS_BUILD_VANILLA_ICE_CREAM) public static final int VANILLA_ICE_CREAM = CUR_DEVELOPMENT; } diff --git a/core/java/android/os/flags.aconfig b/core/java/android/os/flags.aconfig index 77229c44cc8d..40311535fc1e 100644 --- a/core/java/android/os/flags.aconfig +++ b/core/java/android/os/flags.aconfig @@ -1,6 +1,13 @@ package: "android.os" flag { + name: "android_os_build_vanilla_ice_cream" + namespace: "build" + description: "Feature flag for adding the VANILLA_ICE_CREAM constant." + bug: "264658905" +} + +flag { name: "state_of_health_public" namespace: "system_sw_battery" description: "Feature flag for making state_of_health a public api." |