summaryrefslogtreecommitdiff
path: root/java/hiddenapi_singleton.go
diff options
context:
space:
mode:
author Jeongik Cha <jeongik@google.com> 2020-08-10 00:51:56 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2020-08-10 00:51:56 +0000
commit6df337255c2e889e1f8db84f098a6c297d7ac90d (patch)
tree5417465c254854afb969556584fa1cf7f1132a71 /java/hiddenapi_singleton.go
parent91c3e4ec1a902fe6624174125dd08d8e500cc771 (diff)
parent816a23a50d3dc4ef600583fb58854c3d1b293d09 (diff)
Merge "Introduce AlwaysUsePrebuiltSdks"
Diffstat (limited to 'java/hiddenapi_singleton.go')
-rw-r--r--java/hiddenapi_singleton.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/hiddenapi_singleton.go b/java/hiddenapi_singleton.go
index 1e6becbf8..de4a90f31 100644
--- a/java/hiddenapi_singleton.go
+++ b/java/hiddenapi_singleton.go
@@ -100,7 +100,7 @@ func stubFlagsRule(ctx android.SingletonContext) {
// Add the android.test.base to the set of stubs only if the android.test.base module is on
// the boot jars list as the runtime will only enforce hiddenapi access against modules on
// that list.
- if inList("android.test.base", ctx.Config().BootJars()) && !ctx.Config().UnbundledBuildUsePrebuiltSdks() {
+ if inList("android.test.base", ctx.Config().BootJars()) && !ctx.Config().AlwaysUsePrebuiltSdks() {
publicStubModules = append(publicStubModules, "android.test.base.stubs")
}