Skip to content

Commit 426df50

Browse files
Implement getRuntimeExecutor for BridgelessCatalystInstance
Summary: Implement `getRuntimeExecutor()` for BridgelessCatalystInstance Changelog: [Android][Breaking] Implement getRuntimeExecutor() for Bridgeless Catalyst Instance Differential Revision: D56046398
1 parent 78d523d commit 426df50

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/react-native/ReactAndroid/src/main/java/com/facebook/react/runtime/BridgelessCatalystInstance.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,8 @@ public class BridgelessCatalystInstance(private val reactHost: ReactHostImpl) :
149149
throw UnsupportedOperationException("Unimplemented method 'getJavaScriptContextHolder'")
150150
}
151151

152-
override fun getRuntimeExecutor(): RuntimeExecutor {
153-
throw UnsupportedOperationException("Unimplemented method 'getRuntimeExecutor'")
152+
override fun getRuntimeExecutor(): RuntimeExecutor? {
153+
return reactHost.getRuntimeExecutor()
154154
}
155155

156156
override fun getRuntimeScheduler(): RuntimeScheduler {

0 commit comments

Comments
 (0)