summaryrefslogtreecommitdiff
path: root/android/sdk.go
diff options
context:
space:
mode:
author Paul Duffin <paulduffin@google.com> 2022-11-25 12:11:40 +0000
committer Paul Duffin <paulduffin@google.com> 2022-12-12 17:33:05 +0000
commite3ae3dd6f99a6f9758f1f8540e274285771e5e60 (patch)
treec29a478f29b97b3bf40a54ca03d7b91ea398fec1 /android/sdk.go
parent80e7f7323d0a0a38f274fa33dbec50f064169510 (diff)
Dedup checks for module being in versioned sdk snapshot
Previously, various places duplicated the logic to check whether a module was part of a versioned snapshot. This change replaces that code with a call to the existing IsModuleInVersionedSdk(Module) func. This makes the code consistent in preparation for a change that will remove all calls to IsModuleInVersionedSdk(Module). It is separated out from that change as it is easier to see that the replaced code is equivalent to the IsModuleInVersionedSdk(Module) func when it is not mixed in with other changes. It also makes the following change easier to review. Bug: 260237150 Test: m nothing Change-Id: I44d665bf02d2fc97632a03b5a3d2225ea3c2827d
Diffstat (limited to 'android/sdk.go')
0 files changed, 0 insertions, 0 deletions