summaryrefslogtreecommitdiff
path: root/android/sdk_version.go
diff options
context:
space:
mode:
author Spandan Das <spandandas@google.com> 2023-03-23 16:33:36 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2023-03-23 16:33:36 +0000
commitddfab6001487ee655552555ccf8130a09510e7e9 (patch)
tree90eafb6d228082795aec7c51f4c1a3ce09640ea5 /android/sdk_version.go
parent401a1cf0c3d774df75ed7c23b6eccec9e32c5185 (diff)
parent8c9ae7ed6770b45f1337722a2e61cb22317659aa (diff)
Merge "Update min_sdk_version from SdkSpec to ApiLevel"
Diffstat (limited to 'android/sdk_version.go')
-rw-r--r--android/sdk_version.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/android/sdk_version.go b/android/sdk_version.go
index ab6e4f796..2107cbedb 100644
--- a/android/sdk_version.go
+++ b/android/sdk_version.go
@@ -25,9 +25,9 @@ type SdkContext interface {
SdkVersion(ctx EarlyModuleContext) SdkSpec
// SystemModules returns the system_modules property of the current module, or an empty string if it is not set.
SystemModules() string
- // MinSdkVersion returns SdkSpec that corresponds to the min_sdk_version property of the current module,
+ // MinSdkVersion returns ApiLevel that corresponds to the min_sdk_version property of the current module,
// or from sdk_version if it is not set.
- MinSdkVersion(ctx EarlyModuleContext) SdkSpec
+ MinSdkVersion(ctx EarlyModuleContext) ApiLevel
// ReplaceMaxSdkVersionPlaceholder returns SdkSpec to replace the maxSdkVersion property of permission and
// uses-permission tags if it is set.
ReplaceMaxSdkVersionPlaceholder(ctx EarlyModuleContext) SdkSpec