Merge "Always set targetSdkLevel to DefaultAppTargetSdk" into rvc-dev am: b029f03191
Change-Id: Id51826d589e55295b235dbb315e64e15ab52a4ca
This commit is contained in:
commit
5d1c06c922
|
@ -470,11 +470,11 @@ func (a *apexBundle) buildUnflattenedApex(ctx android.ModuleContext) {
|
|||
}
|
||||
|
||||
targetSdkVersion := ctx.Config().DefaultAppTargetSdk()
|
||||
// TODO(b/157078772): propagate min_sdk_version to apexer.
|
||||
minSdkVersion := ctx.Config().DefaultAppTargetSdk()
|
||||
|
||||
if a.minSdkVersion(ctx) == android.SdkVersion_Android10 {
|
||||
minSdkVersion = strconv.Itoa(a.minSdkVersion(ctx))
|
||||
targetSdkVersion = strconv.Itoa(a.minSdkVersion(ctx))
|
||||
}
|
||||
|
||||
if java.UseApiFingerprint(ctx) {
|
||||
|
|
Loading…
Reference in New Issue