Skip to content

Commit

Permalink
Reducing visibility of companion object in JSCInstance (#43800)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: #43800

Changelog: [Internal]

Facebook : D55610929 comments

Reviewed By: alanleedev

Differential Revision: D55657065

fbshipit-source-id: 3380dc13ee9cbc122a053a55363cc0842e01eded
  • Loading branch information
arushikesarwani94 authored and facebook-github-bot committed Apr 3, 2024
1 parent d39712f commit b9dc0ae
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions packages/react-native/ReactAndroid/api/ReactAndroid.api
Original file line number Diff line number Diff line change
Expand Up @@ -3651,13 +3651,9 @@ public class com/facebook/react/runtime/CoreReactPackage$$ReactModuleInfoProvide
}

public final class com/facebook/react/runtime/JSCInstance : com/facebook/react/runtime/JSRuntimeFactory {
public static final field Companion Lcom/facebook/react/runtime/JSCInstance$Companion;
public fun <init> ()V
}

public final class com/facebook/react/runtime/JSCInstance$Companion {
}

public abstract class com/facebook/react/runtime/JSRuntimeFactory {
protected fun <init> (Lcom/facebook/jni/HybridData;)V
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import com.facebook.jni.annotations.DoNotStrip
import com.facebook.soloader.SoLoader

public class JSCInstance constructor() : JSRuntimeFactory(initHybrid()) {
public companion object {
private companion object {
init {
SoLoader.loadLibrary("jscinstance")
}
Expand Down

0 comments on commit b9dc0ae

Please sign in to comment.