Merge changes I152f8e5e,I3259a9b8 into main

* changes:
  Reland "Remove non-generic provider APIs"
  Update usage of SetProvider
This commit is contained in:
Colin Cross
2023-12-22 17:40:00 +00:00
committed by Gerrit Code Review
5 changed files with 17 additions and 52 deletions

View File

@@ -2386,7 +2386,7 @@ func (a *apexBundle) provideApexExportsInfo(ctx android.ModuleContext) {
ProfilePathOnHost: info.ProfilePathOnHost(),
LibraryNameToDexJarPathOnHost: info.DexBootJarPathMap(),
}
ctx.SetProvider(android.ApexExportsInfoProvider, exports)
android.SetProvider(ctx, android.ApexExportsInfoProvider, exports)
}
})
}