diff options
author | Colin Cross <ccross@android.com> | 2019-06-10 10:00:33 -0700 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2019-06-10 10:00:33 -0700 |
commit | 9d5d72f7a6e618015bf83f85ad82d3e8a10d34d5 (patch) | |
tree | 472bdc310d1c1258848d8f8e5686165b5c07cd02 /android/api_levels.go | |
parent | 6213e17eab5363e2e375dec802709391371e9476 (diff) | |
parent | 236ac108f506661abe0a41cce3916573a4d4dc39 (diff) |
Merge changes I9f8df94f,I2d7f5c56,I0ebb7381,Ieefcfc1a am: a6bf56d4be
am: 236ac108f5
Change-Id: Ia0777130add15aceb17739f5dcb613ca4e1bf172
Diffstat (limited to 'android/api_levels.go')
-rw-r--r-- | android/api_levels.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/android/api_levels.go b/android/api_levels.go index 2f70f6200..4f6efee70 100644 --- a/android/api_levels.go +++ b/android/api_levels.go @@ -86,7 +86,7 @@ func getApiLevelsMap(config Config) map[string]int { // * Numeric API levels are simply converted. // * "minimum" and "current" are not currently handled since the former is // NDK specific and the latter has inconsistent meaning. -func ApiStrToNum(ctx BaseContext, apiLevel string) (int, error) { +func ApiStrToNum(ctx BaseModuleContext, apiLevel string) (int, error) { num, ok := getApiLevelsMap(ctx.Config())[apiLevel] if ok { return num, nil |