Skip to content

Commit

Permalink
Fix issue didi#287 obtaining AGPInterface without Booster context
Browse files Browse the repository at this point in the history
  • Loading branch information
johnsonlee committed Mar 6, 2022
1 parent eeb29a6 commit 2a789d1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ private val REVISION: Revision by lazy {
}

private val FACTORIES: List<AGPInterfaceFactory> by lazy {
ServiceLoader.load(AGPInterfaceFactory::class.java)
ServiceLoader.load(AGPInterfaceFactory::class.java, AGPInterface::class.java.classLoader)
.sortedByDescending(AGPInterfaceFactory::revision)
.toList()
}
Expand Down

0 comments on commit 2a789d1

Please sign in to comment.