Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down
Loading