Skip to content

Commit 3e5dd5e

Browse files
arushikesarwani94huntie
authored andcommitted
Fix CI by adding explicit visibility modifier to BridgelessCatalystInstance (#43296)
Summary: Pull Request resolved: #43296 Fix CI by adding explicit visibility modifier to the newly added `BridgelessCatalystInstance` class. In Kotlin, in explicit API mode, which is usually the default mode for Kotlin, we must explicitly specify one of the modifiers for every declaration to make it clear and explicit. Changelog: [Internal] internal Reviewed By: makovkastar Differential Revision: D54442485 fbshipit-source-id: 4409ff810a09cc4fadcd2ccf21f7fbac3015f413
1 parent 8a04e44 commit 3e5dd5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ import com.facebook.react.turbomodule.core.interfaces.NativeMethodCallInvokerHol
3232

3333
@DoNotStrip
3434
@DeprecatedInNewArchitecture
35-
class BridgelessCatalystInstance : CatalystInstance {
35+
public class BridgelessCatalystInstance : CatalystInstance {
3636
override fun handleMemoryPressure(level: Int) {
3737
throw UnsupportedOperationException("Unimplemented method 'handleMemoryPressure'")
3838
}

0 commit comments

Comments
 (0)