diff --git a/java/prebuilt_apis.go b/java/prebuilt_apis.go index 722c721d5..8a442b5ff 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) {