Add current build release
Previously, the build releases only included named releases so did not have a way to represent the latest build release. This adds the current build release (named after the current API level) to represent that. Bug: 240406019 Test: m nothing Change-Id: Ib8336da716b447448b23bc9684ce3be1ab78648a
This commit is contained in:
@@ -262,8 +262,7 @@ func CheckSnapshot(t *testing.T, result *android.TestResult, name string, dir st
|
||||
|
||||
// If the generated snapshot builders not for the current release then it cannot be loaded by
|
||||
// the current release.
|
||||
currentBuildRelease := latestBuildRelease()
|
||||
if snapshotBuildInfo.targetBuildRelease != currentBuildRelease {
|
||||
if snapshotBuildInfo.targetBuildRelease != buildReleaseCurrent {
|
||||
return
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user