Merge "Remove unused setting of BootImageInfo for platform_bootclasspath"
diff --git a/java/platform_bootclasspath.go b/java/platform_bootclasspath.go
index b1a0ac4..05b8e2f 100644
--- a/java/platform_bootclasspath.go
+++ b/java/platform_bootclasspath.go
@@ -171,17 +171,6 @@
// Force the GlobalSoongConfig to be created and cached for use by the dex_bootjars
// GenerateSingletonBuildActions method as it cannot create it for itself.
dexpreopt.GetGlobalSoongConfig(ctx)
-
- imageConfig := b.getImageConfig(ctx)
- if imageConfig == nil {
- return
- }
-
- // Construct the boot image info from the config.
- info := BootImageInfo{imageConfig: imageConfig}
-
- // Make it available for other modules.
- ctx.SetProvider(BootImageInfoProvider, info)
}
func (b *platformBootclasspathModule) getImageConfig(ctx android.EarlyModuleContext) *bootImageConfig {