mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
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:
+1
-1
@@ -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'")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user