diff options
author | 2021-03-11 07:56:22 +0000 | |
---|---|---|
committer | 2021-03-11 08:01:19 +0000 | |
commit | d6c2a6521166ef373af7ce13a223d8dc1a7c3601 (patch) | |
tree | 5bddd895590cbf53e4af6144be0e863b69409589 /java/prebuilt_apis.go | |
parent | a55aefd57b5e3aa89648cfc5bca8dcb9eb8322f3 (diff) |
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
Diffstat (limited to 'java/prebuilt_apis.go')
-rw-r--r-- | java/prebuilt_apis.go | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |