[automerge] Revert "Patch to fix Aug train issue with tethering" 2p: 9bcfe69743

Original change: https://googleplex-android-review.googlesource.com/c/platform/build/soong/+/19457530

Change-Id: I82494f6629b4c0869d7e430e1de7d47442195a33
This commit is contained in:
Paul Duffin
2022-07-28 10:07:45 +00:00
committed by Presubmit Automerger Backend
8 changed files with 84 additions and 431 deletions

View File

@@ -646,14 +646,6 @@ func (j *Module) MinSdkVersion(ctx android.EarlyModuleContext) android.SdkSpec {
return j.SdkVersion(ctx)
}
func (j *Module) MinApiLevelForSdkSnapshot(ctx android.EarlyModuleContext) android.ApiLevel {
if j.deviceProperties.Min_sdk_version != nil {
return android.SdkSpecFrom(ctx, *j.deviceProperties.Min_sdk_version).ApiLevel
} else {
return android.NoneApiLevel
}
}
func (j *Module) MaxSdkVersion(ctx android.EarlyModuleContext) android.SdkSpec {
maxSdkVersion := proptools.StringDefault(j.deviceProperties.Max_sdk_version, "")
// SdkSpecFrom returns SdkSpecPrivate for this, which may be confusing.