Merge "Default minSdkVersion to '1'" into nyc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
a98e3e3ede
@@ -1871,7 +1871,7 @@ public class PackageParser {
|
||||
sa = res.obtainAttributes(parser,
|
||||
com.android.internal.R.styleable.AndroidManifestUsesSdk);
|
||||
|
||||
int minVers = 0;
|
||||
int minVers = 1;
|
||||
String minCode = null;
|
||||
int targetVers = 0;
|
||||
String targetCode = null;
|
||||
@@ -1898,9 +1898,6 @@ public class PackageParser {
|
||||
} else {
|
||||
// If it's not a string, it's an integer.
|
||||
targetVers = val.data;
|
||||
if (minVers == 0) {
|
||||
minVers = targetVers;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user