mirror of
https://github.com/facebook/react-native.git
synced 2026-11-18 20:19:07 +00:00
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:
1 parent
0cca3a1f77
commit
2560f7cc72
4 files changed
+4
-4
No files matched your search
+1
-1
@@ -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(
|
||||
|
||||
+1
-1
@@ -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.",
|
||||
|
||||
+1
-1
@@ -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
|
||||
|
||||
+1
-1
@@ -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()
|
||||
|
||||
|
||||
Reference in new issue
Block a user