Fix min_sdk_version err msg in apex.

It should suggest adding min_sdk_version to the child module, not the
apex one.

Test: Manually
Change-Id: Ibde94677a966dafd5912e566bb038783f03c20c9
This commit is contained in:
Jaewoong Jung
2021-03-31 13:36:55 -07:00
parent c1c2352d95
commit 86bcf70b3e

View File

@@ -919,7 +919,7 @@ func CheckMinSdkVersion(m UpdatableModule, ctx ModuleContext, minSdkVersion ApiL
"Consider adding 'min_sdk_version: %q' to %q",
minSdkVersion, ctx.ModuleName(), err.Error(),
ctx.GetPathString(false),
minSdkVersion, ctx.ModuleName())
minSdkVersion, toName)
return false
}
}