From eec01ac5a3dec5030edc5c81ae215bcd10183c5b Mon Sep 17 00:00:00 2001 From: Michael Wright Date: Wed, 23 Aug 2017 13:49:14 -0700 Subject: [PATCH] O MR1 is API 27 Bug: 64982450 Test: manual Change-Id: I4be170f9f1021899db3ef0bce3eaeada21f8b475 --- api/current.txt | 2 +- api/system-current.txt | 2 +- api/test-current.txt | 2 +- core/java/android/os/Build.java | 2 +- tools/aapt/SdkConstants.h | 2 +- tools/aapt2/SdkConstants.h | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/api/current.txt b/api/current.txt index 24ab586424337..a21d85fba1dcb 100644 --- a/api/current.txt +++ b/api/current.txt @@ -30620,7 +30620,7 @@ package android.os { field public static final int N = 24; // 0x18 field public static final int N_MR1 = 25; // 0x19 field public static final int O = 26; // 0x1a - field public static final int O_MR1 = 10000; // 0x2710 + field public static final int O_MR1 = 27; // 0x1b } public final class Bundle extends android.os.BaseBundle implements java.lang.Cloneable android.os.Parcelable { diff --git a/api/system-current.txt b/api/system-current.txt index 99632688e2391..1182db461ec46 100644 --- a/api/system-current.txt +++ b/api/system-current.txt @@ -33333,7 +33333,7 @@ package android.os { field public static final int N = 24; // 0x18 field public static final int N_MR1 = 25; // 0x19 field public static final int O = 26; // 0x1a - field public static final int O_MR1 = 10000; // 0x2710 + field public static final int O_MR1 = 27; // 0x1b } public final class Bundle extends android.os.BaseBundle implements java.lang.Cloneable android.os.Parcelable { diff --git a/api/test-current.txt b/api/test-current.txt index 343228a87848b..e2617c9d0eb2d 100644 --- a/api/test-current.txt +++ b/api/test-current.txt @@ -30764,7 +30764,7 @@ package android.os { field public static final int N = 24; // 0x18 field public static final int N_MR1 = 25; // 0x19 field public static final int O = 26; // 0x1a - field public static final int O_MR1 = 10000; // 0x2710 + field public static final int O_MR1 = 27; // 0x1b } 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 7852125db6f0e..062799891ffdd 100644 --- a/core/java/android/os/Build.java +++ b/core/java/android/os/Build.java @@ -773,7 +773,7 @@ public class Build { /** * O MR1. */ - public static final int O_MR1 = CUR_DEVELOPMENT; // STOPSHIP Replace with the real version. + public static final int O_MR1 = 27; } /** The type of build, like "user" or "eng". */ diff --git a/tools/aapt/SdkConstants.h b/tools/aapt/SdkConstants.h index 0dbf4ee8153e1..bf56ec0246994 100644 --- a/tools/aapt/SdkConstants.h +++ b/tools/aapt/SdkConstants.h @@ -42,7 +42,7 @@ enum { SDK_NOUGAT = 24, SDK_NOUGAT_MR1 = 25, SDK_O = 26, - SDK_O_MR1 = 10000, // STOPSHIP Replace with the real version. + SDK_O_MR1 = 27, }; #endif // H_AAPT_SDK_CONSTANTS diff --git a/tools/aapt2/SdkConstants.h b/tools/aapt2/SdkConstants.h index 864e57d644a61..5c32ed4fd8495 100644 --- a/tools/aapt2/SdkConstants.h +++ b/tools/aapt2/SdkConstants.h @@ -52,7 +52,7 @@ enum : ApiVersion { SDK_NOUGAT = 24, SDK_NOUGAT_MR1 = 25, SDK_O = 26, - SDK_O_MR1 = 10000, // STOPSHIP Replace with the real version. + SDK_O_MR1 = 27, }; ApiVersion FindAttributeSdkLevel(const ResourceId& id);