Skip to content

Commit

Permalink
Implement getRuntimeExecutor for BridgelessCatalystInstance (#44053)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: #44053

Implement `getRuntimeExecutor()` for BridgelessCatalystInstance

Changelog:
[Android][Breaking] Implement `getRuntimeExecutor()` for Bridgeless Catalyst Instance

Reviewed By: christophpurrer

Differential Revision: D56046398

fbshipit-source-id: b9f947cf6f83ce7c1d334558a11b76fccab45dbd
  • Loading branch information
arushikesarwani94 authored and huntie committed Apr 15, 2024
1 parent 012a95c commit e7131fa
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,8 @@ public class BridgelessCatalystInstance(private val reactHost: ReactHostImpl) :
throw UnsupportedOperationException("Unimplemented method 'getJavaScriptContextHolder'")
}

override fun getRuntimeExecutor(): RuntimeExecutor {
throw UnsupportedOperationException("Unimplemented method 'getRuntimeExecutor'")
override fun getRuntimeExecutor(): RuntimeExecutor? {
return reactHost.getRuntimeExecutor()
}

override fun getRuntimeScheduler(): RuntimeScheduler {
Expand Down

0 comments on commit e7131fa

Please sign in to comment.