Change min max sdk version type to string.
This allows support of codenames, instead of pure integer version codes. This is a safe change, since the fields are currently unused. Bug: 190818041 Test: presubmit Change-Id: Ic80330413c35f16d274fef721ff908f1fe380e55
This commit is contained in:
@@ -36,16 +36,14 @@ message Jar {
|
|||||||
// Minimum API level required for the jar to be included on the classpath.
|
// Minimum API level required for the jar to be included on the classpath.
|
||||||
// If the system's API level is lower than the value specified in this
|
// If the system's API level is lower than the value specified in this
|
||||||
// attribute, the jar will not be included in the classpath.
|
// attribute, the jar will not be included in the classpath.
|
||||||
// Not setting this attribute, defaults the value to zero and implies the jar
|
// Not setting this attribute implies the jar can be used on all API levels.
|
||||||
// can be used on all API levels.
|
string min_sdk_version = 3;
|
||||||
int32 min_sdk_version = 3;
|
|
||||||
|
|
||||||
// Maximum API level that the jar file supports.
|
// Maximum API level that the jar file supports.
|
||||||
// Not setting this attribute implies unbound maximum; otherwise set value
|
|
||||||
// must be greater or equal to min_sdk value.
|
|
||||||
// If the system's API level is higher than the value specified in this
|
// If the system's API level is higher than the value specified in this
|
||||||
// attribute, the jar will not be included in the classpath.
|
// attribute, the jar will not be included in the classpath.
|
||||||
int32 max_sdk_version = 4;
|
// Not setting this attribute implies unbound maximum.
|
||||||
|
string max_sdk_version = 4;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Jars exported by a single partition.
|
// Jars exported by a single partition.
|
||||||
|
|||||||
Reference in New Issue
Block a user