Revert "Patch to fix Aug train issue with tethering"

Revert "[automerge] Patch to fix Aug train issue with tethering ..."

Revert submission 19432194-presubmit-am-5e598b33be884d9f98a29ce1c3c575fb

Reason for revert: Not needed in tm-mainline-prod and breaks bluetooth.
Reverted Changes:
I57969b85a:Patch to fix Aug train issue with tethering
Ie6560f201:[automerge] Patch to fix Aug train issue with teth...

Change-Id: If44d16a00847a554862aa139c04370ad30166c74
This commit is contained in:
Paul Duffin
2022-07-28 10:07:30 +00:00
parent a649ad5b31
commit 9bcfe69743
8 changed files with 84 additions and 431 deletions

View File

@@ -74,22 +74,6 @@ type SdkAware interface {
sdkAwareWithoutModule
}
type minApiLevelForSdkSnapshot interface {
MinApiLevelForSdkSnapshot(ctx EarlyModuleContext) ApiLevel
}
func MinApiLevelForSdkSnapshot(ctx EarlyModuleContext, module Module) ApiLevel {
minApiLevel := NoneApiLevel
if m, ok := module.(minApiLevelForSdkSnapshot); ok {
minApiLevel = m.MinApiLevelForSdkSnapshot(ctx)
}
if minApiLevel == NoneApiLevel {
// The default API level is Q, i.e. the first release that supported mainline modules.
minApiLevel = uncheckedFinalApiLevel(29)
}
return minApiLevel
}
// SdkRef refers to a version of an SDK
type SdkRef struct {
Name string