platform/frameworks/base/ - S is now 31

Bug: 171506470
Test: Build
Change-Id: I46d4df5f27783a96a58c966b113391ea3bc112cb
This commit is contained in:
Jeff Sharkey
2021-05-27 09:26:59 -06:00
parent 1dfd948440
commit 7c5f4337fd
5 changed files with 6 additions and 3 deletions

View File

@@ -30797,7 +30797,7 @@ package android.os {
field public static final int P = 28; // 0x1c
field public static final int Q = 29; // 0x1d
field public static final int R = 30; // 0x1e
field public static final int S = 10000; // 0x2710
field public static final int S = 31; // 0x1f
}
public final class Bundle extends android.os.BaseBundle implements java.lang.Cloneable android.os.Parcelable {

View File

@@ -1086,7 +1086,7 @@ public class Build {
/**
* S.
*/
public static final int S = CUR_DEVELOPMENT;
public static final int S = 31;
}
/** The type of build, like "user" or "eng". */

View File

@@ -46,6 +46,7 @@ enum {
SDK_P = 28,
SDK_Q = 29,
SDK_R = 30,
SDK_S = 31,
};
#endif // H_AAPT_SDK_CONSTANTS

View File

@@ -58,7 +58,8 @@ static const std::vector<std::pair<uint16_t, ApiVersion>> sAttrIdMap = {
{0x056d, SDK_O_MR1},
{0x0586, SDK_P},
{0x0606, SDK_Q},
{0x0617, SDK_R},
{0x0616, SDK_R},
{0x064b, SDK_S},
};
static bool less_entry_id(const std::pair<uint16_t, ApiVersion>& p, uint16_t entryId) {

View File

@@ -56,6 +56,7 @@ enum : ApiVersion {
SDK_P = 28,
SDK_Q = 29,
SDK_R = 30,
SDK_S = 31,
};
ApiVersion FindAttributeSdkLevel(const ResourceId& id);