Enable for targets in xplat/js/react-native-github/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/devsupport (#59042)

Summary: Pull Request resolved: https://github.com/react/react-native/pull/59042

Reviewed By: hick209

Differential Revision: D124982684

fbshipit-source-id: 80a1e4c6484da149bdabd766e0aab60db47b5a9e
This commit is contained in:
generatedunixname267772532268223 authored and meta-codesync[bot] committed 2026-10-13 11:32:22 -07:00
1 parent 0cca3a1f77
commit 2560f7cc72
4 files changed
+4 -4

No files matched your search

@@ -234,7 +234,7 @@ internal class CxxInspectorPackagerConnection(
SoLoader.loadLibrary("react_devsupportjni")
}
@VisibleForTesting internal const val MAX_QUEUE_SIZE = 16L * 1024 * 1024 // 16MiB
@VisibleForTesting internal const val MAX_QUEUE_SIZE: Long = 16L * 1024 * 1024 // 16MiB
@JvmStatic
private external fun initHybrid(
@@ -23,7 +23,7 @@ import com.facebook.react.packagerconnection.RequestHandler
* The first create() method is for the Old Architecture flow and is deprecated and should not be
* used anymore. The second create() method is for the New Architecture/Bridgeless flow.
*/
internal class DefaultDevSupportManagerFactory : DevSupportManagerFactory {
internal class DefaultDevSupportManagerFactory() : DevSupportManagerFactory {
@Deprecated(
"Use the other create() method with useDevSupport parameter for New Architecture. This method will be removed in a future release.",
@@ -74,7 +74,7 @@ internal class FpsView(reactContext: ReactContext) : FrameLayout(reactContext) {
}
/** Timer that runs every UPDATE_INTERVAL_MS ms and updates the currently displayed FPS. */
private inner class FPSMonitorRunnable : Runnable {
private inner class FPSMonitorRunnable() : Runnable {
private var shouldStop = false
private var totalFramesDropped = 0
private var total4PlusFrameStutters = 0
@@ -32,7 +32,7 @@ import java.io.File
* A dummy implementation of [DevSupportManager] to be used in production mode where development
* features aren't needed.
*/
public open class ReleaseDevSupportManager : DevSupportManager {
public open class ReleaseDevSupportManager() : DevSupportManager {
private val defaultJSExceptionHandler: JSExceptionHandler = DefaultJSExceptionHandler()