summaryrefslogtreecommitdiff
path: root/java/java.go
diff options
context:
space:
mode:
authorAnton Hansson <hansson@google.com>2020-03-19 15:23:38 +0000
committerAnton Hansson <hansson@google.com>2020-03-25 14:18:02 +0000
commitba6ab2e791f81d1c54f10d2bd986d25a9693f3eb (patch)
treed6367a869685a28838afd63d39ea6821f7e88f05 /java/java.go
parent85f227eed73d98cff60946eb7a450f53e9d362d0 (diff)
Make system_server stubs consistent with other stubs
Include the module_api stubs in system_server one instead of putting both of these jars on the classpath. Also rename it to be in line with the other stubs. Bug: 149293194 Test: m Exempt-From-Owner-Approval: approved internally Change-Id: Iead5af4152a49cd59a4fd7afc0312c2f0c872c1e Merged-In: Iead5af4152a49cd59a4fd7afc0312c2f0c872c1e (cherry picked from commit bbd78556daf4a7e015f2e3ddfe9539909e9ebf40)
Diffstat (limited to 'java/java.go')
-rw-r--r--java/java.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/java.go b/java/java.go
index 8c779f5c4..fa2351e55 100644
--- a/java/java.go
+++ b/java/java.go
@@ -847,7 +847,7 @@ func (m *Module) getLinkType(name string) (ret linkType, stubs bool) {
return javaModule, true
case ver.kind == sdkModule:
return javaModule, false
- case name == "services-stubs":
+ case name == "android_system_server_stubs_current":
return javaSystemServer, true
case ver.kind == sdkSystemServer:
return javaSystemServer, false