diff options
Diffstat (limited to 'sdk/testing.go')
-rw-r--r-- | sdk/testing.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sdk/testing.go b/sdk/testing.go index bed11b27d..f4e2b031b 100644 --- a/sdk/testing.go +++ b/sdk/testing.go @@ -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 } |