Implement getRuntimeExecutor for BridgelessCatalystInstance (#44053)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/44053

Implement `getRuntimeExecutor()` for BridgelessCatalystInstance

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

Reviewed By: christophpurrer

Differential Revision: D56046398

fbshipit-source-id: b9f947cf6f83ce7c1d334558a11b76fccab45dbd
This commit is contained in:
Arushi Kesarwani
2024-04-12 12:35:43 -07:00
committed by Alex Hunt
parent 012a95cf56
commit e7131fadca
@@ -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 {