From d6c2a6521166ef373af7ce13a223d8dc1a7c3601 Mon Sep 17 00:00:00 2001 From: Paul Duffin Date: Thu, 11 Mar 2021 07:56:22 +0000 Subject: [PATCH] prebuilt_apis should create a java_system_modules_import Previously it was creating a java_system_modules which worked fine because apart from the prebuilt nature the two are functionally identical. However a follow up change will differentiate between them which would break this code. Bug: 182402568 Test: m nothing Change-Id: Ifc13ce31235494e338d730c61a99d8887c5a2c5b --- java/prebuilt_apis.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/prebuilt_apis.go b/java/prebuilt_apis.go index c91b32117..59b8b8c16 100644 --- a/java/prebuilt_apis.go +++ b/java/prebuilt_apis.go @@ -178,7 +178,7 @@ func createSystemModules(mctx android.LoadHookContext, apiver string) { props.Name = proptools.StringPtr(prebuiltApiModuleName(mctx, "system_modules", "public", apiver)) props.Libs = append(props.Libs, prebuiltApiModuleName(mctx, "core-for-system-modules", "public", apiver)) - mctx.CreateModule(SystemModulesFactory, &props) + mctx.CreateModule(systemModulesImportFactory, &props) } func prebuiltSdkSystemModules(mctx android.LoadHookContext, p *prebuiltApis) {