Fix CI by adding explicit visibility modifier to BridgelessCatalystInstance (#43296)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/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
This commit is contained in:
Arushi Kesarwani
2024-03-18 10:37:22 +00:00
committed by Alex Hunt
parent 8a04e4418a
commit 3e5dd5e2f2
@@ -32,7 +32,7 @@ import com.facebook.react.turbomodule.core.interfaces.NativeMethodCallInvokerHol
@DoNotStrip
@DeprecatedInNewArchitecture
class BridgelessCatalystInstance : CatalystInstance {
public class BridgelessCatalystInstance : CatalystInstance {
override fun handleMemoryPressure(level: Int) {
throw UnsupportedOperationException("Unimplemented method 'handleMemoryPressure'")
}