Revert "Create two sentinel api levels"
Revert submission 2457063 Reason for revert: Broken udc-dev Reverted changes: /q/submissionid:2457063 Change-Id: Ide8e1b23d5a575c57be44ebd801846dc5caf2e83
This commit is contained in:
@@ -52,15 +52,6 @@ var StringDefault = proptools.StringDefault
|
||||
// FutureApiLevelInt is a placeholder constant for unreleased API levels.
|
||||
const FutureApiLevelInt = 10000
|
||||
|
||||
// PrivateApiLevel represents the api level of SdkSpecPrivate (sdk_version: "")
|
||||
// This api_level exists to differentiate user-provided "" from "current" sdk_version
|
||||
// The differentiation is necessary to enable different validation rules for these two possible values.
|
||||
var PrivateApiLevel = ApiLevel{
|
||||
value: "current", // The value is current since aidl expects `current` as the default (TestAidlFlagsWithMinSdkVersion)
|
||||
number: FutureApiLevelInt + 1, // This is used to differentiate it from FutureApiLevel
|
||||
isPreview: true,
|
||||
}
|
||||
|
||||
// FutureApiLevel represents unreleased API levels.
|
||||
var FutureApiLevel = ApiLevel{
|
||||
value: "current",
|
||||
|
Reference in New Issue
Block a user