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 facebook-github-bot committed Apr 12, 2024
1 parent 18916f3 commit 6a5aaad
Showing 1 changed file with 2 additions and 2 deletions.
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 6a5aaad

Please sign in to comment.