summaryrefslogtreecommitdiff
path: root/api/api.go
diff options
context:
space:
mode:
author Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> 2024-06-21 13:45:32 +0000
committer Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> 2024-06-21 13:45:32 +0000
commita83346935a4d960f1a1f0db9b0560843b5151f62 (patch)
treeaca8c83ab15600b6a189acbb04adffcfed895df5 /api/api.go
parent5bad8eabc2a7a87015d155234c412b370cdf512f (diff)
parente7b73b2359fcd0d92b5e6b18e36c8d48f3156519 (diff)
Merge "Update previous_api for droidstubs and java_api_library" into main am: c4d930b0dc am: e7b73b2359
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/3139199 Change-Id: Ie18ef14a77e383bab8c3a80f5ed58bdd23367d9c Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
Diffstat (limited to 'api/api.go')
-rw-r--r--api/api.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/api.go b/api/api.go
index 449fac63f90c..d4db49e90a01 100644
--- a/api/api.go
+++ b/api/api.go
@@ -478,7 +478,7 @@ func createApiContributionDefaults(ctx android.LoadHookContext, modules []string
props.Api_contributions = transformArray(
modules, "", fmt.Sprintf(".stubs.source%s.api.contribution", apiSuffix))
props.Defaults_visibility = []string{"//visibility:public"}
- props.Previous_api = proptools.StringPtr(":android.api.public.latest")
+ props.Previous_api = proptools.StringPtr(":android.api.combined." + sdkKind.String() + ".latest")
ctx.CreateModule(java.DefaultsFactory, &props)
}
}